Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tails
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
952
Issues
952
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tails
tails
Commits
560b27f2
Commit
560b27f2
authored
Jul 03, 2018
by
intrigeri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test suite: adjust looking for errors for Tor Browser 8 (refs:
#15023
)
parent
8d4e11de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
features/step_definitions/browser.rb
features/step_definitions/browser.rb
+1
-1
No files found.
features/step_definitions/browser.rb
View file @
560b27f2
...
...
@@ -204,7 +204,7 @@ Then /^Tails homepage loads in the Unsafe Browser$/ do
end
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment