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
09e9a502
Commit
09e9a502
authored
Jan 19, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .qa-project-deploy-keys to locate it
Without this, it's very hard to locate it.
parent
39a659a1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/deploy_keys/components/app.vue
app/assets/javascripts/deploy_keys/components/app.vue
+1
-0
qa/qa/page/project/settings/deploy_keys.rb
qa/qa/page/project/settings/deploy_keys.rb
+3
-4
No files found.
app/assets/javascripts/deploy_keys/components/app.vue
View file @
09e9a502
...
@@ -87,6 +87,7 @@
...
@@ -87,6 +87,7 @@
<div
v-else-if=
"hasKeys"
>
<div
v-else-if=
"hasKeys"
>
<keys-panel
<keys-panel
title=
"Enabled deploy keys for this project"
title=
"Enabled deploy keys for this project"
class=
"qa-project-deploy-keys"
:keys=
"keys.enabled_keys"
:keys=
"keys.enabled_keys"
:store=
"store"
:store=
"store"
:endpoint=
"endpoint"
:endpoint=
"endpoint"
...
...
qa/qa/page/project/settings/deploy_keys.rb
View file @
09e9a502
...
@@ -10,6 +10,7 @@ module QA
...
@@ -10,6 +10,7 @@ module QA
view
'app/assets/javascripts/deploy_keys/components/app.vue'
do
view
'app/assets/javascripts/deploy_keys/components/app.vue'
do
element
:deploy_keys_section
,
/class=".*deploy\-keys.*"/
element
:deploy_keys_section
,
/class=".*deploy\-keys.*"/
element
:project_deploy_keys
,
'class="qa-project-deploy-keys"'
end
end
view
'app/assets/javascripts/deploy_keys/components/key.vue'
do
view
'app/assets/javascripts/deploy_keys/components/key.vue'
do
...
@@ -30,10 +31,8 @@ module QA
...
@@ -30,10 +31,8 @@ module QA
end
end
def
key_title
def
key_title
page
.
within
(
'.deploy-keys'
)
do
page
.
within
(
'.qa-project-deploy-keys'
)
do
# The instance might have public keys available, here we want
page
.
find
(
'.title'
).
text
# the one from the project
page
.
first
(
'.title'
).
text
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