diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-01-19 22:34:21 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-01-20 01:24:28 +0800 |
commit | 09e9a50272c516997e41afff81d98d05a8b6c728 (patch) | |
tree | d9eb6644d94568569167835fac5795e2602dff56 /qa | |
parent | 39a659a1350553900c0efe500da752665dd4a376 (diff) | |
download | gitlab-ce-09e9a50272c516997e41afff81d98d05a8b6c728.tar.gz |
Add .qa-project-deploy-keys to locate itqa-deploy-key-factory-product
Without this, it's very hard to locate it.
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/settings/deploy_keys.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qa/qa/page/project/settings/deploy_keys.rb b/qa/qa/page/project/settings/deploy_keys.rb index 211699599e1..f9e40bf4252 100644 --- a/qa/qa/page/project/settings/deploy_keys.rb +++ b/qa/qa/page/project/settings/deploy_keys.rb @@ -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 @@ -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 |