Commit 1c2c85fc authored by intrigeri's avatar intrigeri
Browse files

Test suite: adjust for Tor Browser 8 (refs: #15023)

There's no "document frame" anymore, now it's a "frame".
And we don't need the special case about "Getting started…"
since we don't point there anymore.
parent 5c40fa6c
......@@ -14,7 +14,7 @@ Feature: Tails documentation
Given I have started Tails from DVD and logged in and the network is connected
When I double-click on the Tails documentation launcher on the desktop
Then the Tor Browser starts
And the Tor Browser opens the "Documentation" page
And "Tails - Documentation" has loaded in the Tor Browser
#15321
@fragile
......
......@@ -214,16 +214,3 @@ Then /^the Tor Browser shows the "([^"]+)" error$/ do |error|
found = headers.any? { |heading| heading.text == error }
raise "Could not find the '#{error}' error in the Tor Browser" unless found
end
# This step shouldn't be needed (the '"$title}" has loaded in the Tor
# Browser' step should be enough), but since we run Dogtail with
# python2 (#12185) we have terrible unicode support; for instance
# `.child('Tails - Getting started…')` will fail since Dogtail expects
# ascii and cannot decode "…".
Then /^the Tor Browser opens the "Documentation" page$/ do
try_for(60) do
@torbrowser
.children(roleName: "document frame")
.any? { |f| f.name == 'Tails - Documentation' }
end
end
Markdown is supported
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