DEV: Fix flaky signup spec with invite codes (#29415)
This commit is contained in:
parent
584424594e
commit
5b7df76248
|
@ -96,7 +96,7 @@ shared_examples "signup scenarios" do |signup_page_object, login_page_object|
|
|||
.fill_code("pudding")
|
||||
expect(signup_form).to have_valid_fields
|
||||
|
||||
signup_form.click_create_account
|
||||
signup_form.click_create_account(expect_success: false)
|
||||
expect(signup_form).to have_content(I18n.t("login.wrong_invite_code"))
|
||||
expect(signup_form).to have_no_css(".account-created")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue