diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-19 13:52:20 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-19 13:52:20 +0300 |
commit | f6e14431a0676708590ddb7cb7567e1f7e97c244 (patch) | |
tree | 9d165aa401d1e1bab4ab7ce3754cff684d46875e /features/steps/project/builds | |
parent | e9c3d0424f145e994ffc2be91b0e2adbf58fa3c2 (diff) | |
parent | 6fe33804dc080522242d9ea3639548c2b246a56b (diff) |
Merge branch 'feature/expose-ci-lint-tool'
Diffstat (limited to 'features/steps/project/builds')
-rw-r--r-- | features/steps/project/builds/summary.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/features/steps/project/builds/summary.rb b/features/steps/project/builds/summary.rb index 2439d48fbef..036bc0a499e 100644 --- a/features/steps/project/builds/summary.rb +++ b/features/steps/project/builds/summary.rb @@ -4,11 +4,18 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps include SharedBuilds include RepoHelpers - step 'I see summary for build' do + step 'I see details of a build' do expect(page).to have_content "Build ##{@build.id}" end step 'I see build trace' do expect(page).to have_css '#build-trace' end + + step 'I see button to CI Lint' do + page.within('.controls') do + ci_lint_tool_link = page.find_link('CI Lint') + expect(ci_lint_tool_link[:href]).to eq ci_lint_path + end + end end |