Welcome to mirror list, hosted at ThFree Co, Russian Federation.

login_via_instance_wide_saml_sso_spec.rb « login « 1_manage « browser_ui « features « specs « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6cb65c2788ad3861a3f62c66c76b4886f6be999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

module QA
  RSpec.describe 'Manage', :orchestrated, :instance_saml do
    describe 'Instance wide SAML SSO' do
      it(
        'user logs in to gitlab with SAML SSO',
        testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347895'
      ) do
        Runtime::Browser.visit(:gitlab, Page::Main::Login)

        Page::Main::Login.perform(&:sign_in_with_saml)

        Vendor::SamlIdp::Page::Login.perform do |login_page|
          login_page.login('user1', 'user1pass')
        end

        Page::Dashboard::Welcome.perform do |welcome|
          expect(welcome).to have_content('Welcome to GitLab')
        end
      end
    end
  end
end