From 5b7df76248306688ca63750f835e9d85793b4266 Mon Sep 17 00:00:00 2001 From: Jan Cernik <66427541+jancernik@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:15:18 -0300 Subject: [PATCH] DEV: Fix flaky signup spec with invite codes (#29415) --- spec/system/signup_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/signup_spec.rb b/spec/system/signup_spec.rb index 7222e42d0d7..7d90e3e4a9a 100644 --- a/spec/system/signup_spec.rb +++ b/spec/system/signup_spec.rb @@ -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