summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/project
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/specs/features/project
parentd0b08f1c50b0b4106c0ae5f398912aab596a447a (diff)
downloadgitlab-ce-50a82f64e53d396ca91f52c4d25af60beb52a424.tar.gz
Add end-to-end test for registering GitLab Runner
Diffstat (limited to 'qa/qa/specs/features/project')
-rw-r--r--qa/qa/specs/features/project/pipelines_spec.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/qa/qa/specs/features/project/pipelines_spec.rb b/qa/qa/specs/features/project/pipelines_spec.rb
new file mode 100644
index 00000000000..1897b2fa27c
--- /dev/null
+++ b/qa/qa/specs/features/project/pipelines_spec.rb
@@ -0,0 +1,17 @@
+module QA
+ feature 'CI/CD Pipelines', :core, :docker do
+ scenario 'user registers a new specific runner' do
+ Runtime::Browser.visit(:gitlab, Page::Main::Login)
+ Page::Main::Login.act { sign_in_using_credentials }
+
+ Factory::Resource::Runner.fabricate! do |runner|
+ runner.name = 'my-qa-runner'
+
+ runner.perform do |page|
+ expect(page).to have_content('my-qa-runner')
+ expect(page).to have_css('.runner-status-online')
+ end
+ end
+ end
+ end
+end