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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
9799d363
Commit
9799d363
authored
Nov 17, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix QA test subject address by configuring capybara
parent
c07c6a5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
qa/qa/scenario/entrypoint.rb
qa/qa/scenario/entrypoint.rb
+1
-0
qa/qa/specs/config.rb
qa/qa/specs/config.rb
+2
-0
No files found.
qa/qa/scenario/entrypoint.rb
View file @
9799d363
...
@@ -8,6 +8,7 @@ module QA
...
@@ -8,6 +8,7 @@ module QA
include
Bootable
include
Bootable
def
perform
(
address
,
*
files
)
def
perform
(
address
,
*
files
)
Specs
::
Config
.
act
{
configure_capybara!
}
Runtime
::
Scenario
.
define
(
:gitlab_address
,
address
)
Runtime
::
Scenario
.
define
(
:gitlab_address
,
address
)
##
##
...
...
qa/qa/specs/config.rb
View file @
9799d363
...
@@ -9,6 +9,8 @@ require 'selenium-webdriver'
...
@@ -9,6 +9,8 @@ require 'selenium-webdriver'
module
QA
module
QA
module
Specs
module
Specs
class
Config
<
Scenario
::
Template
class
Config
<
Scenario
::
Template
include
Scenario
::
Actable
def
perform
def
perform
configure_rspec!
configure_rspec!
configure_capybara!
configure_capybara!
...
...
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