Commit 91b9a6f6 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'ci-pipeline-processing-smoke-test-updates' into 'master'

Check feature flag status before asserting the job state

See merge request gitlab-org/gitlab!62681
parents 49f42e50 346d3da2
......@@ -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|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment