Commit f1fa312f authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'sh-fix-sidebar-flaky-specs' into 'master'

Possible fix for flaky sidebar specs

Closes #118659

See merge request gitlab-org/gitlab!22667
parents 1fb7a93d 987df199
...@@ -271,6 +271,7 @@ describe 'Issue Boards', :js do ...@@ -271,6 +271,7 @@ describe 'Issue Boards', :js do
wait_for_requests wait_for_requests
click_link scoped_label_1.title click_link scoped_label_1.title
within('.dropdown-menu-labels') { expect(page).to have_selector('.is-active', count: 2) }
click_link scoped_label_2.title click_link scoped_label_2.title
wait_for_requests wait_for_requests
......
...@@ -318,6 +318,7 @@ describe 'Issue Boards', :js do ...@@ -318,6 +318,7 @@ describe 'Issue Boards', :js do
wait_for_requests wait_for_requests
click_link bug.title click_link bug.title
within('.dropdown-menu-labels') { expect(page).to have_selector('.is-active', count: 3) }
click_link regression.title click_link regression.title
wait_for_requests wait_for_requests
......
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