summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb
diff options
context:
space:
mode:
authorWalmyr <walmyr@gitlab.com>2019-03-28 14:19:32 +0000
committerRémy Coutable <remy@rymai.me>2019-03-28 14:19:32 +0000
commit2ace53feac2aa9e41bda61d8cb452923b54d5ab8 (patch)
treecfb9cec9a9c180a3f63531059a3176901fe5690b /qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb
parenta85fd76f524802a02957ccdcca7674f618a9e069 (diff)
downloadgitlab-ce-2ace53feac2aa9e41bda61d8cb452923b54d5ab8.tar.gz
Standardize usage of `click_` and `go_to` on GUI tests
This MR addresses the following issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/57043 Based on the following comment: https://gitlab.com/gitlab-org/gitlab-ce/issues/57043#note_136663994
Diffstat (limited to 'qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb')
-rw-r--r--qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb b/qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb
index ff879fdeb16..f41240b7605 100644
--- a/qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb
+++ b/qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb
@@ -16,7 +16,7 @@ module QA
expect(page).to have_content("Title: #{key_title}")
expect(page).to have_content(key.fingerprint)
- Page::Main::Menu.act { go_to_profile_settings }
+ Page::Main::Menu.act { click_settings_link }
Page::Profile::Menu.act { click_ssh_keys }
Page::Profile::SSHKeys.perform do |ssh_keys|