Commit 560b27f2 authored by intrigeri's avatar intrigeri

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

parent 8d4e11de
......@@ -204,7 +204,7 @@ Then /^Tails homepage loads in the Unsafe Browser$/ do
Then /^the Tor Browser shows the "([^"]+)" error$/ do |error|
page = @torbrowser.child("Problem loading page", roleName: "document frame")
page = @torbrowser.child("Problem loading page - Tor Browser", roleName: "frame")
headers = page.children(roleName: "heading")
found = headers.any? { |heading| heading.text == error }
raise "Could not find the '#{error}' error in the Tor Browser" unless found
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