Commit 64b60e03 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-nightly-73-fix-group-saml-test' into 'master'

Fix and un quarantine group_saml e2e test

Closes gitlab-org/quality/nightly#73

See merge request gitlab-org/gitlab-ee!13490
parents cb6465b2 2afcba85
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
# Failure issue: https://gitlab.com/gitlab-org/quality/nightly/issues/73 context 'Manage', :orchestrated, :group_saml do
context 'Manage', :orchestrated, :group_saml, :quarantine do
describe 'Group SAML SSO' do describe 'Group SAML SSO' do
before do before do
Runtime::Browser.visit(:gitlab, Page::Main::Login) Runtime::Browser.visit(:gitlab, Page::Main::Login)
...@@ -32,7 +31,7 @@ module QA ...@@ -32,7 +31,7 @@ module QA
EE::Page::Group::SamlSSOSignIn.act { click_signin } EE::Page::Group::SamlSSOSignIn.act { click_signin }
expect(page).to have_content("Signed in with SAML for #{Runtime::Env.sandbox_name}") expect(page).to have_content("Already signed in with SAML for #{Runtime::Env.sandbox_name}")
end end
it 'Lets group admin test settings' do it 'Lets group admin test settings' do
...@@ -55,7 +54,7 @@ module QA ...@@ -55,7 +54,7 @@ module QA
def login_to_idp_if_required_and_expect_success def login_to_idp_if_required_and_expect_success
Vendor::SAMLIdp::Page::Login.perform { |login_page| login_page.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") 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}") .or have_content("Already signed in with SAML for #{Runtime::Env.sandbox_name}")
end end
end end
end 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