diff options
Diffstat (limited to 'features/steps/project/builds/summary.rb')
-rw-r--r-- | features/steps/project/builds/summary.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/features/steps/project/builds/summary.rb b/features/steps/project/builds/summary.rb new file mode 100644 index 00000000000..036bc0a499e --- /dev/null +++ b/features/steps/project/builds/summary.rb @@ -0,0 +1,21 @@ +class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps + include SharedAuthentication + include SharedProject + include SharedBuilds + include RepoHelpers + + 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 |