Show CI status on commit page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-09-24 11:40:48 +02:00
parent 9c4307e287
commit 2be714dcf6
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
3 changed files with 15 additions and 0 deletions

View file

@ -6,6 +6,7 @@ v 8.1.0 (unreleased)
- Move CI charts to project graphs area
- Fix cases where Markdown did not render links in activity feed (Stan Hu)
- Add first and last to pagination (Zeger-Jan van de Weg)
- Show CI status on commit page
v 8.0.2 (unreleased)
- Skip check_initd_configured_correctly on omnibus installs

View file

@ -16,6 +16,11 @@ Feature: Project Commits
Then I see commit info
And I see side-by-side diff button
Scenario: I browse commit with ci from list
Given commit has ci status
And I click on commit link
Then I see commit ci info
Scenario: I browse commit with side-by-side diff view
Given I click on commit link
And I click side-by-side diff button

View file

@ -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