summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/browser_ui/1_manage/login/login_via_instance_wide_saml_sso_spec.rb
blob: 87f0e9030d26b85436692d099b9601f3a5f8049b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module QA
  context 'Manage', :orchestrated, :instance_saml do
    describe 'Instance wide SAML SSO' do
      it 'User logs in to gitlab with SAML SSO' do
        Runtime::Browser.visit(:gitlab, Page::Main::Login)

        Page::Main::Login.act { sign_in_with_saml }

        Vendor::SAMLIdp::Page::Login.act { login }

        expect(page).to have_content('Welcome to GitLab')
      end
    end
  end
end