Commit 8a183099 authored by intrigeri's avatar intrigeri
Browse files

Test suite: make sure we don't find TorBrowserUnableToOpen.png *before* the...

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.
parent 9f29be8f
...@@ -65,11 +65,17 @@ Feature: Browsing the web using the Tor Browser ...@@ -65,11 +65,17 @@ Feature: Browsing the web using the Tor Browser
Then I see "TorBrowserSynapticManual.png" after at most 10 seconds Then I see "TorBrowserSynapticManual.png" after at most 10 seconds
And I don't see "TorBrowserUnableToOpen.png" And I don't see "TorBrowserUnableToOpen.png"
When I open the address "file:///home/amnesia/.gnupg/synaptic.html" in the Tor Browser 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 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 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 Scenario: The "Tails documentation" link on the Desktop works
When I double-click on the "Tails documentation" link on the Desktop When I double-click on the "Tails documentation" link on the Desktop
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment