Commit 0cdcf183 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch '330445-fix-flaky-spec' into 'master'

Fix a flaky test by not checking the flash notice

See merge request gitlab-org/gitlab!62211
parents 2972292f 5093456c
......@@ -116,7 +116,8 @@ RSpec.describe 'Projects > Settings > User manages merge request settings' do
click_on('Save changes')
end
find('.flash-notice')
wait_for_all_requests
checkbox = find_field('project_printing_merge_request_link_enabled')
expect(checkbox).not_to be_checked
......@@ -139,7 +140,8 @@ RSpec.describe 'Projects > Settings > User manages merge request settings' do
click_on('Save changes')
end
find('.flash-notice')
wait_for_all_requests
checkbox = find_field('project_remove_source_branch_after_merge')
expect(checkbox).not_to be_checked
......
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