Commit 47df1d7f authored by anonym's avatar anonym
Browse files

Test suite: use Dogtail instead of image.

This image was invalidated during our Donation campaign was running,
and then by a Tor Browser bug (#14962). Bumping images is boring so
let's rely on Dogtail instead.

To make this scenario more robust we also switch to something else
than the start page, and restart the browser between save/open in
order to prevent Dogtail e.g. finding the old page that we just saved
instead of the saved version we just opened.

Refs: #14935, #14962
parent d7c363f1
......@@ -9,7 +9,7 @@ When /^I successfully start the Unsafe Browser$/ do
step "the Unsafe Browser has started"
end
When /^I close the Unsafe Browser$/ do
When /^I close the (?:Tor|Unsafe) Browser$/ do
@screen.type("q", Sikuli::KeyModifier.CTRL)
end
......
......@@ -135,10 +135,12 @@ Feature: Browsing the web using the Tor Browser
Then the persistent Tor Browser directory exists
And there is a GNOME bookmark for the persistent Tor Browser directory
When I start the Tor Browser
And the Tor Browser loads the startup page
And I open the address "https://tails.boum.org/about" in the Tor Browser
And I can save the current page as "index.html" to the persistent Tor Browser directory
And I close the Tor Browser
When I start the Tor Browser
When I open the address "file:///home/amnesia/Persistent/Tor Browser/index.html" in the Tor Browser
Then I see "TorBrowserSavedStartupPage.png" after at most 10 seconds
Then "Tails - About" has loaded in the Tor Browser
And I can print the current page as "output.pdf" to the persistent Tor Browser directory
#11585
......
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