Re: [Tails-dev] [review'n'merge:1.1.1] bugfix/7060-use-gnome…

Delete this message

Reply to this message
Author: intrigeri
Date:  
To: The Tails public development discussion list
Subject: Re: [Tails-dev] [review'n'merge:1.1.1] bugfix/7060-use-gnome-run-dialog-less (sic)
Hi,

Kill Your TV wrote (20 Aug 2014 00:42:36 GMT) :
> I saw this once with features/encryption.feature:


> Failing Scenarios:
> cucumber features/encryption.feature:18 # Scenario: Encryption and decryption using Tails OpenPGP Applet
> cucumber features/encryption.feature:23 # Scenario: Signing and verification using Tails OpenPGP Applet
> cucumber features/encryption.feature:28 # Scenario: Encryption/signing and decryption/verification using Tails OpenPGP Applet
> cucumber features/encryption.feature:33 # Scenario: Symmetric encryption and decryption using Tails OpenPGP Applet


It would be useful to have the full error message from Cucumber,
otherwise, there's little one can do about it.

> features/usb_install.feature consistently fails for me. At Scenario:
> Installing Tails to a pristine USB drive:


>     And I plug USB drive "current"                               # features/step_definitions/common_steps.rb:83
>     And I "Clone & Install" Tails to USB drive "current"         # features/step_definitions/usb.rb:76
>       FindFailed: can not find USBCloneAndInstall.png on the screen.
>       Line ?, in File ? (RuntimeError)
>       /usr/lib/ruby/vendor_ruby/cucumber/core_ext/instance_exec.rb:73:in `rescue in cucumber_run_with_backtrace_filtering'
>       /usr/lib/ruby/vendor_ruby/cucumber/core_ext/instance_exec.rb:68:in `cucumber_run_with_backtrace_filtering'
>       /usr/lib/ruby/vendor_ruby/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
>       /usr/lib/ruby/vendor_ruby/cucumber/rb_support/rb_step_definition.rb:97:in `invoke'
>       /usr/lib/ruby/vendor_ruby/cucumber/step_match.rb:25:in `invoke'
>       [...snipped...]


Note that the test suite saves a screenshot on failure, which can help
diagnose what's happening. Also, see the --capture option, e.g.
`--capture /tmp/TailsToaster/capture.webm', which is very useful too :)

Cheers,
--
intrigeri