Commit f1713825 authored by Etienne Baqué's avatar Etienne Baqué

Fix QA test after moving deploy keys to ci/cd

parent dde45156
...@@ -6,7 +6,7 @@ module QA ...@@ -6,7 +6,7 @@ module QA
attr_accessor :title, :key attr_accessor :title, :key
attribute :md5_fingerprint do attribute :md5_fingerprint do
Page::Project::Settings::Repository.perform do |setting| Page::Project::Settings::CICD.perform do |setting|
setting.expand_deploy_keys do |key| setting.expand_deploy_keys do |key|
key.find_md5_fingerprint(title) key.find_md5_fingerprint(title)
end end
...@@ -25,7 +25,7 @@ module QA ...@@ -25,7 +25,7 @@ module QA
Page::Project::Menu.perform(&:go_to_repository_settings) Page::Project::Menu.perform(&:go_to_repository_settings)
Page::Project::Settings::Repository.perform do |setting| Page::Project::Settings::CICD.perform do |setting|
setting.expand_deploy_keys do |page| setting.expand_deploy_keys do |page|
page.fill_key_title(title) page.fill_key_title(title)
page.fill_key_value(key) page.fill_key_value(key)
......
...@@ -17,7 +17,7 @@ module QA ...@@ -17,7 +17,7 @@ module QA
expect(deploy_key.md5_fingerprint).to eq key.md5_fingerprint expect(deploy_key.md5_fingerprint).to eq key.md5_fingerprint
Page::Project::Settings::Repository.perform do |setting| Page::Project::Settings::CICD.perform do |setting|
setting.expand_deploy_keys do |keys| setting.expand_deploy_keys do |keys|
expect(keys).to have_key(deploy_key_title, key.md5_fingerprint) expect(keys).to have_key(deploy_key_title, key.md5_fingerprint)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment