Skip to content
Snippets Groups Projects
Commit 2de2e279 authored by John Skarbek's avatar John Skarbek
Browse files

Merge branch '14-7-stable-ee-iteration-spec-fix' into '14-7-stable-ee'

Fix iteration spec for 14-7-stable-ee

See merge request gitlab-org/gitlab!83235
parents 4492f0d3 9355ee9d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,20 +19,17 @@ module QA
 
before do
Runtime::Feature.enable(:iteration_cadences, group: iteration_group)
# TODO: this sleep can be removed when the `Runtime::Feature.enable` method call is removed
# Wait for the application settings cache to update with iteration_cadences feature flag setting
# as per this issue https://gitlab.com/gitlab-org/gitlab/-/issues/36663
# We cannot check the UI for the changes because they are sporadically available at first
# as described in this issue https://gitlab.com/gitlab-org/quality/testcases/-/issues/113#note_300647725
sleep(60)
 
Flow::Login.sign_in
end
 
it 'creates a group iteration', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347943' do
# TODO: Remove this retry when the `Runtime::Feature.enable` method call is removed
Support::Retrier.retry_until(max_duration: 60, retry_on_exception: true, sleep_interval: 5) do
iteration_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|
iteration.title = title
iteration.description = description
Loading
Loading
# frozen_string_literal: true
 
module QA
# TODO: Remove :requires_admin when the `Runtime::Feature.enable` method call is removed
RSpec.describe 'Plan', :requires_admin do
RSpec.describe 'Plan' do
describe 'Editing scoped labels on issues' do
let(:initial_label) { 'animal::fox' }
let(:new_label_same_scope) { 'animal::dolphin' }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment