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
32617a53
Commit
32617a53
authored
Apr 26, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve flaky tests that asserted on flash notice
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
fa3fb097
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
...cts/settings/user_manages_merge_requests_settings_spec.rb
+8
-4
No files found.
spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
View file @
32617a53
...
...
@@ -163,7 +163,8 @@ RSpec.describe 'Projects > Settings > User manages merge request settings' do
click_on
(
'Save changes'
)
end
find
(
'.flash-notice'
)
wait_for_requests
radio
=
find_field
(
'project_project_setting_attributes_squash_option_default_on'
)
expect
(
radio
).
to
be_checked
...
...
@@ -178,7 +179,8 @@ RSpec.describe 'Projects > Settings > User manages merge request settings' do
click_on
(
'Save changes'
)
end
find
(
'.flash-notice'
)
wait_for_requests
radio
=
find_field
(
'project_project_setting_attributes_squash_option_always'
)
expect
(
radio
).
to
be_checked
...
...
@@ -193,7 +195,8 @@ RSpec.describe 'Projects > Settings > User manages merge request settings' do
click_on
(
'Save changes'
)
end
find
(
'.flash-notice'
)
wait_for_requests
radio
=
find_field
(
'project_project_setting_attributes_squash_option_never'
)
expect
(
radio
).
to
be_checked
...
...
@@ -220,7 +223,8 @@ RSpec.describe 'Projects > Settings > User manages merge request settings' do
click_on
(
'Save changes'
)
end
find
(
'.flash-notice'
)
wait_for_requests
radio
=
find_field
(
'project_project_setting_attributes_mr_default_target_self_true'
)
expect
(
radio
).
to
be_checked
...
...
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