diff options
author | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2016-02-02 12:23:10 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-19 17:24:59 +0100 |
commit | ede451c851f2bc5f445a1ff7a418735f4a98405f (patch) | |
tree | 2d5d41b43f58de707051d6be3663b707ed729003 /features | |
parent | 2c7f36f43072dcffca13c7e248f8df1bf226ce1a (diff) | |
download | gitlab-ce-ede451c851f2bc5f445a1ff7a418735f4a98405f.tar.gz |
Show information indicating that build has been erased
Diffstat (limited to 'features')
-rw-r--r-- | features/project/builds/summary.feature | 1 | ||||
-rw-r--r-- | features/steps/project/builds/summary.rb | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/features/project/builds/summary.feature b/features/project/builds/summary.feature index b4fb537f3d8..6addc56da77 100644 --- a/features/project/builds/summary.feature +++ b/features/project/builds/summary.feature @@ -20,3 +20,4 @@ Feature: Project Builds Summary And I click erase build button Then recent build has been erased And recent build summary does not have artifacts widget + And recent build summary contains information saying that build has been erased diff --git a/features/steps/project/builds/summary.rb b/features/steps/project/builds/summary.rb index 70de61101b8..1bcff659181 100644 --- a/features/steps/project/builds/summary.rb +++ b/features/steps/project/builds/summary.rb @@ -24,4 +24,8 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps step 'recent build summary does not have artifacts widget' do expect(page).to have_no_css('.artifacts') end + + step 'recent build summary contains information saying that build has been erased' do + expect(page).to have_css('.erased') + end end |