diff options
author | Rémy Coutable <remy@rymai.me> | 2018-10-09 14:34:48 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-10-09 14:34:48 +0000 |
commit | cf7aea84f37d33400ef6e5716e234dc5dc735146 (patch) | |
tree | b24c1eba71e4e4b56c04fb9436ffb64803387a2f /qa/qa/specs/features | |
parent | 5dc20e505d259345aa2a3f4049a59abe75cbc301 (diff) | |
parent | 0275069cc0ecce232bd0c9e383ac5dcf086f2400 (diff) | |
download | gitlab-ce-cf7aea84f37d33400ef6e5716e234dc5dc735146.tar.gz |
Merge branch 'qa-304-auto-devops-open-live-environment' into 'master'
Assert prod environment is live after Auto Devops
See merge request gitlab-org/gitlab-ce!22131
Diffstat (limited to 'qa/qa/specs/features')
-rw-r--r-- | qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
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 4604936916b..6286e516180 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 @@ -65,6 +65,16 @@ module QA expect(pipeline).to have_build('test', status: :success, wait: 600) expect(pipeline).to have_build('production', status: :success, wait: 1200) end + + Page::Menu::Side.act { click_operations_environments } + Page::Project::Operations::Environments::Index.perform do |index| + index.go_to_environment('production') + end + Page::Project::Operations::Environments::Show.perform do |show| + show.view_deployment do + expect(page).to have_content('Hello World!') + end + end end end end |