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
89a03cc1
Commit
89a03cc1
authored
Jan 21, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configure the browser before running any QA scenario
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
4b02b3cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
qa/qa/scenario/template.rb
qa/qa/scenario/template.rb
+2
-0
qa/qa/scenario/test/instance.rb
qa/qa/scenario/test/instance.rb
+2
-0
No files found.
qa/qa/scenario/template.rb
View file @
89a03cc1
...
...
@@ -23,6 +23,8 @@ module QA
def
perform
(
options
,
*
args
)
extract_address
(
:gitlab_address
,
options
,
args
)
QA
::
Runtime
::
Browser
.
configure!
Runtime
::
Feature
.
enable
(
options
[
:enable_feature
])
if
options
.
key?
(
:enable_feature
)
Specs
::
Runner
.
perform
do
|
specs
|
...
...
qa/qa/scenario/test/instance.rb
View file @
89a03cc1
...
...
@@ -20,6 +20,8 @@ module QA
def
self
.
do_perform
(
address
,
*
rspec_options
)
Runtime
::
Scenario
.
define
(
:gitlab_address
,
address
)
QA
::
Runtime
::
Browser
.
configure!
Specs
::
Runner
.
perform
do
|
specs
|
specs
.
tty
=
true
specs
.
options
=
rspec_options
if
rspec_options
.
any?
...
...
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