blob: 846a96d20bf6b97f926e4b231e87db2db2a0928c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
module QA
module Page
module Mattermost
class Login < Page::Base
def self.address
Runtime::Scenario.mattermost_address + '/login'
end
def sign_in_using_oauth
click_link class: 'btn btn-custom-login gitlab'
if page.has_content?('Authorize GitLab Mattermost to use your account?')
click_button 'Authorize'
end
end
end
end
end
end
|