Skip to content

Commit

Permalink
flaky-fix: Wait for ng-select list to refresh after entering text
Browse files Browse the repository at this point in the history
Without that, we could click on a stale option and stuck the test.
  • Loading branch information
cbliard authored and dombesz committed Jan 27, 2024
1 parent 0afdb23 commit 432670a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/boards/spec/features/support/board_page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def open_and_fill_add_list_modal(name)
open_add_list_modal
sleep(0.1)
page.find('.spot-modal .new-list--action-select input').set(name)
expect(page).to have_no_css('.ng-spinner-loader')
end

def open_add_list_modal
Expand Down

0 comments on commit 432670a

Please sign in to comment.