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
3f7836b2
Commit
3f7836b2
authored
Apr 05, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
f02e89a9
7a48a06c
Changes
1
Show 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 @
3f7836b2
# frozen_string_literal: true
module
QA
# Failure issue: https://gitlab.com/gitlab-org/quality/nightly/issues/91
context
'Verify'
,
:quarantine
do
context
'Verify'
do
describe
'CI variable support'
do
it
'user adds a CI variable'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
@@ -10,17 +9,17 @@ module QA
Resource
::
CiVariable
.
fabricate!
do
|
resource
|
resource
.
key
=
'VARIABLE_KEY'
resource
.
value
=
'some
CI
variable'
resource
.
value
=
'some
_CI_
variable'
end
Page
::
Project
::
Settings
::
CICD
.
perform
do
|
settings
|
settings
.
expand_ci_variables
do
|
page
|
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
expect
(
page
).
to
have_field
(
with:
'some
CI
variable'
)
expect
(
page
).
to
have_field
(
with:
'some
_CI_
variable'
)
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