summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/runners.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-22 14:03:03 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-22 14:03:03 +0100
commit50a82f64e53d396ca91f52c4d25af60beb52a424 (patch)
treed56e2ea17f7d9cfbd2a07c220f8ec900a411853a /qa/qa/page/project/settings/runners.rb
parentd0b08f1c50b0b4106c0ae5f398912aab596a447a (diff)
downloadgitlab-ce-50a82f64e53d396ca91f52c4d25af60beb52a424.tar.gz
Add end-to-end test for registering GitLab Runner
Diffstat (limited to 'qa/qa/page/project/settings/runners.rb')
-rw-r--r--qa/qa/page/project/settings/runners.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/qa/qa/page/project/settings/runners.rb b/qa/qa/page/project/settings/runners.rb
new file mode 100644
index 00000000000..ba3dc632c59
--- /dev/null
+++ b/qa/qa/page/project/settings/runners.rb
@@ -0,0 +1,19 @@
+module QA
+ module Page
+ module Project
+ module Settings
+ class Runners < Page::Base
+ def registration_token
+ find('code#registration_token').text
+ end
+
+ def coordinator_address
+ # TODO, this needs a specific ID or QA class
+ #
+ all('code').first.text
+ end
+ end
+ end
+ end
+ end
+end