Commit 46b2e309 authored by Sanad Liaquat's avatar Sanad Liaquat

Use .perform instead of .act

parent 60d78671
......@@ -52,7 +52,7 @@ module QA
end
def login_to_idp_if_required_and_expect_success
Vendor::SAMLIdp::Page::Login.act { login_if_required }
Vendor::SAMLIdp::Page::Login.perform { |login_page| login_page.login_if_required }
expect(page).to have_content("SAML for #{Runtime::Env.sandbox_name} was added to your connected accounts")
.or have_content("Signed in with SAML for #{Runtime::Env.sandbox_name}")
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment