diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-31 06:10:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-31 06:10:48 +0300 |
commit | 5fa401a99e6da5a7575561359f06886b5d078ec9 (patch) | |
tree | d34feef17c613eec0bae99eb2bf70e670330d0d9 /qa | |
parent | 5d64bc743d92cc57064426ca251397e369996e15 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/qa/qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb b/qa/qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb index a348008a44f..ca6318dd545 100644 --- a/qa/qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb +++ b/qa/qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb @@ -22,16 +22,13 @@ module QA end end - before do - Runtime::Feature.enable(feature_flag, project: project) - end - after do runner.remove_via_api! - Runtime::Feature.disable(feature_flag, project: project) end it 'users creates a pipeline which gets processed', :smoke, testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1849' do + tags_mismatch_status = Runtime::Feature.enabled?(feature_flag, project: project) ? :failed : :pending + Flow::Login.sign_in Resource::Repository::Commit.fabricate_via_api! do |commit| @@ -77,7 +74,7 @@ module QA { 'test-success': :passed, 'test-failure': :failed, - 'test-tags-mismatch': :failed, + 'test-tags-mismatch': tags_mismatch_status, 'test-artifacts': :passed }.each do |job, status| Page::Project::Pipeline::Show.perform do |pipeline| |