summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/new.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/page/project/new.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/page/project/new.rb')
-rw-r--r--qa/qa/page/project/new.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/qa/page/project/new.rb b/qa/qa/page/project/new.rb
index 552b2293115..f841afbbffd 100644
--- a/qa/qa/page/project/new.rb
+++ b/qa/qa/page/project/new.rb
@@ -35,7 +35,7 @@ module QA
end
end
- def go_to_import_project
+ def click_import_project
click_on 'Import project'
end
@@ -51,7 +51,7 @@ module QA
click_on 'Create project'
end
- def go_to_create_from_template
+ def click_create_from_template_tab
click_element(:project_create_from_template_tab)
end
@@ -59,7 +59,7 @@ module QA
choose visibility
end
- def go_to_github_import
+ def click_github_link
click_link 'GitHub'
end
end