'I can view a file stored in "~/Tor Browser" but not in ~/.gnupg' scenario is broken
This makes it more painful than needed to evaluate my work on #14923 (closed) because this scenario is precisely the one I need.
On current devel branch:
14:37:18 Scenario: I can view a file stored in "~/Tor Browser" but not in ~/.gnupg # features/torified_browsing.feature:64
14:38:32 Given I have started Tails from DVD and logged in and the network is connected # features/step_definitions/snapshots.rb:172
14:38:32 And I copy "/usr/share/synaptic/html/index.html" to "/home/amnesia/Tor Browser/synaptic.html" as user "amnesia" # features/step_definitions/common_steps.rb:637
14:38:32 And I copy "/usr/share/synaptic/html/index.html" to "/home/amnesia/.gnupg/synaptic.html" as user "amnesia" # features/step_definitions/common_steps.rb:637
14:38:32 And I copy "/usr/share/synaptic/html/index.html" to "/tmp/synaptic.html" as user "amnesia" # features/step_definitions/common_steps.rb:637
14:38:32 Then the file "/home/amnesia/.gnupg/synaptic.html" exists # features/step_definitions/common_steps.rb:615
14:38:32 And the file "/lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html" exists # features/step_definitions/common_steps.rb:615
14:38:32 And the file "/live/overlay/home/amnesia/.gnupg/synaptic.html" exists # features/step_definitions/common_steps.rb:615
14:38:32 And the file "/tmp/synaptic.html" exists # features/step_definitions/common_steps.rb:615
14:38:32 Given I start monitoring the AppArmor log of "/usr/local/lib/tor-browser/firefox" # features/step_definitions/common_steps.rb:858
14:38:32 When I start the Tor Browser # features/step_definitions/common_steps.rb:385
14:38:32 And the Tor Browser loads the startup page # features/step_definitions/common_steps.rb:405
14:38:32 And I open the address "file:///home/amnesia/Tor Browser/synaptic.html" in the Tor Browser # features/step_definitions/browser.rb:70
14:38:32 Then I see "TorBrowserSynapticManual.png" after at most 5 seconds # features/step_definitions/common_steps.rb:456
14:38:32 And AppArmor has not denied "/usr/local/lib/tor-browser/firefox" from opening "/home/amnesia/Tor Browser/synaptic.html" # features/step_definitions/common_steps.rb:870
14:38:32 Given I restart monitoring the AppArmor log of "/usr/local/lib/tor-browser/firefox" # features/step_definitions/common_steps.rb:858
14:38:32 When I open the address "file:///home/amnesia/.gnupg/synaptic.html" in the Tor Browser # features/step_definitions/browser.rb:70
14:38:32 Then I do not see "TorBrowserSynapticManual.png" after at most 5 seconds # features/step_definitions/common_steps.rb:456
14:38:32 FindFailed: can not find TorBrowserSynapticManual.png in S(0)[0,0 1024x768]
14:38:32 Line 2171, in file Region.java
14:38:32 (RuntimeError)
14:38:32 ./features/support/helpers/sikuli_helper.rb:95:in `findfailed_hook'
14:38:32 ./features/support/helpers/sikuli_helper.rb:146:in `rescue in block (2 levels) in new'
14:38:32 ./features/support/helpers/sikuli_helper.rb:139:in `/^I (do not )?see "([^"]*)" after at most (\d+) seconds$/'
14:38:32 features/torified_browsing.feature:81:in `Then I do not see "TorBrowserSynapticManual.png" after at most 5 seconds'
At first glance it looks like the recent changes to FindFailed might have broken the case when we’re trying not to find a picture on screen.
Feature Branch: test/improvements-from-buster-sprint
Related issues
- Related to #14874 (closed)
- Blocks #13240 (closed)
- Blocks #14817 (closed)
Original created by @intrigeri on 14929 (Redmine)