Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
35bf3555
Commit
35bf3555
authored
Jul 27, 2021
by
Désirée Chevalier
Committed by
Mark Lapierre
Jul 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add remote tunnel variable for e2e tests
parent
ed1f068f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
qa/qa/runtime/browser.rb
qa/qa/runtime/browser.rb
+1
-0
qa/qa/runtime/env.rb
qa/qa/runtime/env.rb
+4
-0
No files found.
qa/qa/runtime/browser.rb
View file @
35bf3555
...
...
@@ -143,6 +143,7 @@ module QA
if
QA
::
Runtime
::
Env
.
remote_grid
selenium_options
[
:url
]
=
QA
::
Runtime
::
Env
.
remote_grid
capabilities
[
:browserVersion
]
=
'latest'
capabilities
[
'sauce:options'
]
=
{
tunnelIdentifier:
QA
::
Runtime
::
Env
.
remote_tunnel_id
}
end
Capybara
::
Selenium
::
Driver
.
new
(
...
...
qa/qa/runtime/env.rb
View file @
35bf3555
...
...
@@ -142,6 +142,10 @@ module QA
ENV
[
'QA_REMOTE_GRID_PROTOCOL'
]
||
'http'
end
def
remote_tunnel_id
ENV
[
'QA_REMOTE_TUNNEL_ID'
]
||
'gitlab-sl_tunnel_id'
end
def
browser
ENV
[
'QA_BROWSER'
].
nil?
?
:chrome
:
ENV
[
'QA_BROWSER'
].
to_sym
end
...
...
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