Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
643c38c9
Commit
643c38c9
authored
Feb 04, 2022
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add wait for feature flag in iterations e2e spec
parent
eebbb1c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
qa/qa/specs/features/ee/browser_ui/2_plan/iterations/create_group_iteration_spec.rb
...owser_ui/2_plan/iterations/create_group_iteration_spec.rb
+6
-9
qa/qa/specs/features/ee/browser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
...ser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
+1
-2
No files found.
qa/qa/specs/features/ee/browser_ui/2_plan/iterations/create_group_iteration_spec.rb
View file @
643c38c9
...
...
@@ -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
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
View file @
643c38c9
# 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'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment