Skip to content
Snippets Groups Projects

Update QA specs for Run Pipeline form

Merged Mireya Andres requested to merge update-run-pipeline-qa into master
All threads resolved!
2 files
+ 9
7
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -56,8 +56,9 @@ module QA
@@ -56,8 +56,9 @@ module QA
Page::Project::Menu.perform(&:click_ci_cd_pipelines)
Page::Project::Menu.perform(&:click_ci_cd_pipelines)
Page::Project::Pipeline::Index.perform(&:click_run_pipeline_button)
Page::Project::Pipeline::Index.perform(&:click_run_pipeline_button)
# Sometimes the variables will not be prefilled because of reactive cache
# Sometimes the variables will not be prefilled because of reactive cache so we revisit the page again.
# So we revisit the page again
# TODO: Investigate alternatives to deal with cache implementation
 
# Issue https://gitlab.com/gitlab-org/gitlab/-/issues/381233
page.refresh
page.refresh
end
end
@@ -93,14 +94,14 @@ module QA
@@ -93,14 +94,14 @@ module QA
# Issue https://gitlab.com/gitlab-org/gitlab/-/issues/372310
# Issue https://gitlab.com/gitlab-org/gitlab/-/issues/372310
context(
context(
'with feature flag disabled',
'with feature flag disabled',
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/361814'
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/361814'
) do
) do
it_behaves_like 'pipeline with custom variable'
it_behaves_like 'pipeline with custom variable'
end
end
context(
context(
'with feature flag enabled',
'with feature flag enabled',
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/378975'
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/378975'
) do
) do
before do
before do
Runtime::Feature.enable(:run_pipeline_graphql, project: project)
Runtime::Feature.enable(:run_pipeline_graphql, project: project)
Loading