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
Jérome Perrin
gitlab-ce
Commits
71c6be4a
Commit
71c6be4a
authored
Apr 23, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use all_elements instead
parent
0446419a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
qa/qa/page/project/settings/secret_variables.rb
qa/qa/page/project/settings/secret_variables.rb
+2
-2
No files found.
qa/qa/page/project/settings/secret_variables.rb
View file @
71c6be4a
...
...
@@ -17,13 +17,13 @@ module QA
end
def
fill_variable
(
key
,
value
)
keys
=
all
(
'.qa-ci-variable-input-key'
)
keys
=
all
_elements
(
:ci_variable_input_key
)
index
=
keys
.
size
-
1
# After we fill the key, JS would generate another field so
# we need to use the same index to find the corresponding one.
keys
[
index
].
set
(
key
)
all
(
'.qa-ci-variable-input-value'
)[
index
].
set
(
value
)
all
_elements
(
:ci_variable_input_value
)[
index
].
set
(
value
)
end
def
save_variables
...
...
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