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

login_spec.rb « mattermost « features « specs « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92f91cb2725afbdda4ddb1a035517a570c152e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module QA
  feature 'logging in to Mattermost', :mattermost do
    scenario 'can use gitlab oauth' do
      Page::Main::Entry.act { visit_login_page }
      Page::Main::Login.act { sign_in_using_credentials }
      Page::Mattermost::Login.act { sign_in_using_oauth }

      Page::Mattermost::Main.perform do |page|
        expect(page).to have_content(/(Welcome to: Mattermost|Logout GitLab Mattermost)/)
      end
    end
  end
end