summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/commits/commits.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/features/steps/project/commits/commits.rb b/features/steps/project/commits/commits.rb
index 23e67371f96..56f1f06fb06 100644
--- a/features/steps/project/commits/commits.rb
+++ b/features/steps/project/commits/commits.rb
@@ -101,4 +101,13 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
step 'I click side-by-side diff button' do
find('#parallel-diff-btn').click
end
+
+ step 'commit has ci status' do
+ @project.enable_ci(@user)
+ create :ci_commit, project: @project.gitlab_ci_project, sha: sample_commit.id
+ end
+
+ step 'I see commit ci info' do
+ expect(page).to have_content "build: skipped"
+ end
end