mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08:00
DEV: Attempt to fix flaky spec (#27270)
This commit is contained in:
parent
0a9be3bfd8
commit
96a686c8dc
|
@ -22,6 +22,7 @@ shared_examples "login scenarios" do
|
|||
login_modal.open
|
||||
login_modal.fill(username: "john", password: "supersecurepassword")
|
||||
login_modal.click_login
|
||||
expect(page).to have_css(".not-activated-modal")
|
||||
login_modal.click(".activation-controls button.resend")
|
||||
|
||||
wait_for(timeout: 5) { ActionMailer::Base.deliveries.count != 0 }
|
||||
|
|
Loading…
Reference in New Issue
Block a user