summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-10-10 15:06:58 +0200
committerRémy Coutable <remy@rymai.me>2018-10-10 15:06:58 +0200
commit998b598fda8c53300e4e543c06b9ff20ebe9f64c (patch)
tree76c808b01239e1e581b3e9dd913297be9265822d /qa
parent75723034cee27d387d7ac7edb88d1520bb3a6b7b (diff)
downloadgitlab-ce-998b598fda8c53300e4e543c06b9ff20ebe9f64c.tar.gz
[QA] Fix a wrong constant name
The Menu namespace was changed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22115 and https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7799. Fixes https://gitlab.com/gitlab-org/quality/nightly/issues/22. Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb2
-rw-r--r--qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb2
-rw-r--r--qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb b/qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
index 57892b65e28..c7edcf4c025 100644
--- a/qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
+++ b/qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
@@ -18,7 +18,7 @@ module QA
project.description = 'Add file templates via the Files view'
end
- Page::Menu::Main.act { sign_out }
+ Page::Main::Menu.act { sign_out }
end
templates = [
diff --git a/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb b/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb
index dc96b19d36d..ab5d97d5b66 100644
--- a/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb
+++ b/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb
@@ -27,7 +27,7 @@ module QA
page.commit_changes
end
- Page::Menu::Main.act { sign_out }
+ Page::Main::Menu.act { sign_out }
end
templates = [
diff --git a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
index 785897f4a97..3735bc00aff 100644
--- a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
+++ b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
@@ -66,7 +66,7 @@ module QA
expect(pipeline).to have_build('production', status: :success, wait: 1200)
end
- Page::Menu::Side.act { click_operations_environments }
+ Page::Project::Menu.act { click_operations_environments }
Page::Project::Operations::Environments::Index.perform do |index|
index.go_to_environment('production')
end