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

Test suite: adjust Dogtail lookup for Tor Browser 8 (refs: #15720).

parent 234787cb
......@@ -103,8 +103,13 @@ Then /^the support documentation page opens in Tor Browser$/ do
expected_heading = 'Search the documentation'
end
step "\"#{expected_title}\" has loaded in the Tor Browser"
if @language == 'German'
browser_name = 'Tor-Browser'
else
browser_name = 'Tor Browser'
end
headings = @torbrowser
.child(expected_title, roleName: 'document frame')
.child(expected_title + " - #{browser_name}", roleName: 'frame')
.children(roleName: 'heading')
assert(
headings.any? { |heading| heading.text == expected_heading }
......
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