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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/main/oauth.rb')
-rw-r--r--qa/qa/page/main/oauth.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/main/oauth.rb b/qa/qa/page/main/oauth.rb
index 2b1a9ab2b6a..410ffc7ff18 100644
--- a/qa/qa/page/main/oauth.rb
+++ b/qa/qa/page/main/oauth.rb
@@ -5,7 +5,7 @@ module QA
module Main
class OAuth < Page::Base
view 'app/views/doorkeeper/authorizations/new.html.haml' do
- element :authorization_button
+ element 'authorization-button'
end
def needs_authorization?
@@ -13,7 +13,7 @@ module QA
end
def authorize!
- click_element :authorization_button
+ click_element 'authorization-button'
end
end
end