Fix CI/CD statuses actions' CSS on pipeline graphs

This commit is contained in:
Grzegorz Bizon 2016-12-17 13:34:35 +01:00
parent 1476bb2c54
commit dc68a91c44
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
- subject = local_assigns.fetch(:subject)
- status = subject.detailed_status(current_user)
- klass = "ci-status-icon ci-status-icon-#{status}"
- klass = "ci-status-icon ci-status-icon-#{status.group}"
- if status.has_details?
= link_to status.details_path, data: { toggle: 'tooltip', title: "#{subject.name} - #{status.label}" } do

View File

@ -99,7 +99,7 @@ describe "Pipelines", feature: true, js: true do
context 'when pipeline has manual builds' do
it 'shows the skipped icon and a play action for the manual build' do
page.within('a[data-title="manual build - manual play action"]') do
expect(page).to have_selector('.ci-status-icon-skipped')
expect(page).to have_selector('.ci-status-icon-manual')
expect(page).to have_content('manual')
end