Commit 29e4bf30 authored by Vitali Tatarintev's avatar Vitali Tatarintev

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

Fix a flaky test by not relying on flash notice content

See merge request gitlab-org/gitlab!62094
parents 6bba2178 9257df5d
......@@ -147,12 +147,10 @@ RSpec.describe 'Projects > Audit Events', :js do
click_button 'Save changes'
end
wait_for('Save is completed') do
page.has_content?('was successfully updated', wait: 0)
end
wait_for_all_requests
page.within('.qa-project-sidebar') do
find(:link, text: 'Security & Compliance').click
click_link 'Security & Compliance'
click_link 'Audit Events'
end
......
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