diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-22 14:03:03 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-22 14:03:03 +0100 |
commit | 50a82f64e53d396ca91f52c4d25af60beb52a424 (patch) | |
tree | d56e2ea17f7d9cfbd2a07c220f8ec900a411853a /qa/qa/specs/features/project | |
parent | d0b08f1c50b0b4106c0ae5f398912aab596a447a (diff) | |
download | gitlab-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.rb | 17 |
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 |