From 3f88bc981df3cd5315c662b340f89a43e6257693 Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Mon, 18 Mar 2019 11:26:13 +1100 Subject: Fix Auto DevOps QA Smoke test hidden banner The banner is no longer being shown for empty repos since https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26024 . We could have made this assertion after pushing the repo but this is not the thing that really needs to be in an integration or smoke test as it is already tested in spec/.../projects/show/user_interacts_with_auto_devops_banner_spec --- .../7_configure/auto_devops/create_project_with_auto_devops_spec.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'qa') 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 16aca7c0e22..0b92ea29ca4 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 @@ -116,12 +116,6 @@ module QA p.description = 'Project with AutoDevOps' end - project.visit! - - Page::Alert::AutoDevopsAlert.perform do |alert| - expect(alert).to have_text(/.*The Auto DevOps pipeline has been enabled.*/) - end - # Create AutoDevOps repo Resource::Repository::ProjectPush.fabricate! do |push| push.project = project -- cgit v1.2.3