From 96a686c8dc8e6945abeda1fce397a3d7df0ee76b Mon Sep 17 00:00:00 2001 From: Jan Cernik <66427541+jancernik@users.noreply.github.com> Date: Fri, 31 May 2024 10:57:43 -0300 Subject: [PATCH] DEV: Attempt to fix flaky spec (#27270) --- spec/system/login_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/system/login_spec.rb b/spec/system/login_spec.rb index d8b1b4f497f..a66cd82fbd1 100644 --- a/spec/system/login_spec.rb +++ b/spec/system/login_spec.rb @@ -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 }