From 998b598fda8c53300e4e543c06b9ff20ebe9f64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Wed, 10 Oct 2018 15:06:58 +0200 Subject: [QA] Fix a wrong constant name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../features/browser_ui/3_create/repository/add_file_template_spec.rb | 2 +- .../features/browser_ui/3_create/web_ide/add_file_template_spec.rb | 2 +- .../7_configure/auto_devops/create_project_with_auto_devops_spec.rb | 2 +- 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 -- cgit v1.2.1