DEV: Fix flaky signup spec with invite codes (#29415)

This commit is contained in:
Jan Cernik 2024-10-25 10:15:18 -03:00 committed by GitHub
parent 584424594e
commit 5b7df76248
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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