Fix CI/CD statuses actions' CSS on pipeline graphs
This commit is contained in:
parent
1476bb2c54
commit
dc68a91c44
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue