diff options
author | Rémy Coutable <remy@rymai.me> | 2018-10-10 15:06:58 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-10-10 15:06:58 +0200 |
commit | 998b598fda8c53300e4e543c06b9ff20ebe9f64c (patch) | |
tree | 76c808b01239e1e581b3e9dd913297be9265822d /qa | |
parent | 75723034cee27d387d7ac7edb88d1520bb3a6b7b (diff) | |
download | gitlab-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')
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 |