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
fd8f0c5c
Commit
fd8f0c5c
authored
Apr 05, 2019
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove spaces from variable name
parent
b6cf4ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
qa/qa/specs/features/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb
...s/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb
+4
-5
No files found.
qa/qa/specs/features/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb
View file @
fd8f0c5c
# frozen_string_literal: true
# frozen_string_literal: true
module
QA
module
QA
# Failure issue: https://gitlab.com/gitlab-org/quality/nightly/issues/91
context
'Verify'
do
context
'Verify'
,
:quarantine
do
describe
'CI variable support'
do
describe
'CI variable support'
do
it
'user adds a CI variable'
do
it
'user adds a CI variable'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
@@ -10,17 +9,17 @@ module QA
...
@@ -10,17 +9,17 @@ module QA
Resource
::
CiVariable
.
fabricate!
do
|
resource
|
Resource
::
CiVariable
.
fabricate!
do
|
resource
|
resource
.
key
=
'VARIABLE_KEY'
resource
.
key
=
'VARIABLE_KEY'
resource
.
value
=
'some
CI
variable'
resource
.
value
=
'some
_CI_
variable'
end
end
Page
::
Project
::
Settings
::
CICD
.
perform
do
|
settings
|
Page
::
Project
::
Settings
::
CICD
.
perform
do
|
settings
|
settings
.
expand_ci_variables
do
|
page
|
settings
.
expand_ci_variables
do
|
page
|
expect
(
page
).
to
have_field
(
with:
'VARIABLE_KEY'
)
expect
(
page
).
to
have_field
(
with:
'VARIABLE_KEY'
)
expect
(
page
).
not_to
have_field
(
with:
'some
CI
variable'
)
expect
(
page
).
not_to
have_field
(
with:
'some
_CI_
variable'
)
page
.
reveal_variables
page
.
reveal_variables
expect
(
page
).
to
have_field
(
with:
'some
CI
variable'
)
expect
(
page
).
to
have_field
(
with:
'some
_CI_
variable'
)
end
end
end
end
end
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