Skip to content
Snippets Groups Projects
Commit 09e9a502 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Add .qa-project-deploy-keys to locate it

Without this, it's very hard to locate it.
parent 39a659a1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -87,6 +87,7 @@
<div v-else-if="hasKeys">
<keys-panel
title="Enabled deploy keys for this project"
class="qa-project-deploy-keys"
:keys="keys.enabled_keys"
:store="store"
:endpoint="endpoint"
Loading
Loading
Loading
Loading
@@ -10,6 +10,7 @@ module QA
 
view 'app/assets/javascripts/deploy_keys/components/app.vue' do
element :deploy_keys_section, /class=".*deploy\-keys.*"/
element :project_deploy_keys, 'class="qa-project-deploy-keys"'
end
 
view 'app/assets/javascripts/deploy_keys/components/key.vue' do
Loading
Loading
@@ -30,10 +31,8 @@ module QA
end
 
def key_title
page.within('.deploy-keys') do
# The instance might have public keys available, here we want
# the one from the project
page.first('.title').text
page.within('.qa-project-deploy-keys') do
page.find('.title').text
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment