summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-06-03 17:22:16 +0000
committerintrigeri <intrigeri@boum.org>2015-06-03 17:30:18 +0000
commit8a183099c1e7fe4a207541d77011396a25033354 (patch)
tree86f819979582fc55b734ea24f3497776cce73651
parent9f29be8f05acbe853a80d66a092346e52b22088c (diff)
Test suite: make sure we don't find TorBrowserUnableToOpen.png *before* the page we're not supposed to be able to load was actually loaded.
In the previous state of this test, even if the forbidden page could be "successfully" loaded, a fast enough testing system would find TorBrowserUnableToOpen.png earlier, and then the test would pass even though it should not.
-rw-r--r--features/torified_browsing.feature12
1 files changed, 9 insertions, 3 deletions
diff --git a/features/torified_browsing.feature b/features/torified_browsing.feature
index 1612101..78275a5 100644
--- a/features/torified_browsing.feature
+++ b/features/torified_browsing.feature
@@ -65,11 +65,17 @@ Feature: Browsing the web using the Tor Browser
Then I see "TorBrowserSynapticManual.png" after at most 10 seconds
And I don't see "TorBrowserUnableToOpen.png"
When I open the address "file:///home/amnesia/.gnupg/synaptic.html" in the Tor Browser
- Then I see "TorBrowserUnableToOpen.png" after at most 10 seconds
+ And I wait between 4 and 5 seconds
+ Then I don't see "TorBrowserSynapticManual.png"
+ And I see "TorBrowserUnableToOpen.png" after at most 1 seconds
When I open the address "file:///lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html" in the Tor Browser
- Then I see "TorBrowserUnableToOpen.png" after at most 10 seconds
+ And I wait between 4 and 5 seconds
+ Then I don't see "TorBrowserSynapticManual.png"
+ And I see "TorBrowserUnableToOpen.png" after at most 1 seconds
When I open the address "file:///live/overlay/home/amnesia/.gnupg/synaptic.html" in the Tor Browser
- Then I see "TorBrowserUnableToOpen.png" after at most 10 seconds
+ And I wait between 4 and 5 seconds
+ Then I don't see "TorBrowserSynapticManual.png"
+ And I see "TorBrowserUnableToOpen.png" after at most 1 seconds
Scenario: The "Tails documentation" link on the Desktop works
When I double-click on the "Tails documentation" link on the Desktop