Commit c5e74a1d authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'qa-fix-flaky-cadence-spec' into 'master'

Wait for cadence feature in iteration spec

See merge request gitlab-org/gitlab!72899
parents 487099b1 fd47945e
...@@ -24,6 +24,15 @@ module QA ...@@ -24,6 +24,15 @@ module QA
end end
it 'creates a group iteration', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1623' do it 'creates a group iteration', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1623' do
# TODO: Remove this retry when the `Runtime::Feature.enable` method call is removed
Support::Retrier.retry_on_exception(max_attempts: 5) do
group.visit!
QA::Page::Group::Menu.perform(&:go_to_group_iterations)
QA::EE::Page::Group::Iteration::Cadence::Index.perform do |cadence|
cadence.find_element(:create_new_cadence_button)
end
end
EE::Resource::GroupIteration.fabricate_via_browser_ui! do |iteration| EE::Resource::GroupIteration.fabricate_via_browser_ui! do |iteration|
iteration.title = title iteration.title = title
iteration.description = description iteration.description = description
......
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