Commit 33ca6966 authored by Tim Zallmann's avatar Tim Zallmann

Fixing Tests and CSS display

parent 38a98662
...@@ -725,9 +725,9 @@ button.mini-pipeline-graph-dropdown-toggle { ...@@ -725,9 +725,9 @@ button.mini-pipeline-graph-dropdown-toggle {
fill: $gl-text-color-secondary; fill: $gl-text-color-secondary;
width: $ci-action-icon-size; width: $ci-action-icon-size;
height: $ci-action-icon-size; height: $ci-action-icon-size;
left: -6px; left: -3px;
position: relative; position: relative;
top: -3px; top: 0;
} }
&:hover svg, &:hover svg,
...@@ -743,6 +743,14 @@ button.mini-pipeline-graph-dropdown-toggle { ...@@ -743,6 +743,14 @@ button.mini-pipeline-graph-dropdown-toggle {
left: 8px; left: 8px;
} }
} }
svg.icon-action-play,
svg.icon-action-stop {
width: 12px;
height: 12px;
top: 1px;
left: 0;
}
} }
// link to the build // link to the build
......
...@@ -15,5 +15,5 @@ ...@@ -15,5 +15,5 @@
%span.ci-build-text= subject.name %span.ci-build-text= subject.name
- if status.has_action? - if status.has_action?
= link_to status.action_path, class: 'ci-action-icon-wrapper js-ci-action-icon', method: status.action_method, data: { toggle: 'tooltip', title: status.action_title, container: 'body' } do = link_to status.action_path, class: "ci-action-icon-wrapper js-ci-action-icon", method: status.action_method, data: { toggle: 'tooltip', title: status.action_title, container: 'body' } do
= sprite_icon(status.action_icon) = sprite_icon(status.action_icon, css_class: "icon-action-#{status.action_icon}")
...@@ -86,8 +86,8 @@ describe 'Pipeline', :js do ...@@ -86,8 +86,8 @@ describe 'Pipeline', :js do
expect(page).to have_content('build') expect(page).to have_content('build')
end end
page.within('#ci-badge-build .ci-action-icon-container') do page.within('#ci-badge-build .ci-action-icon-container.js-icon-retry') do
expect(page).to have_selector('.js-icon-retry') expect(page).to have_selector('svg')
end end
end end
...@@ -105,8 +105,8 @@ describe 'Pipeline', :js do ...@@ -105,8 +105,8 @@ describe 'Pipeline', :js do
expect(page).to have_content('test') expect(page).to have_content('test')
end end
page.within('#ci-badge-test .ci-action-icon-container') do page.within('#ci-badge-test .ci-action-icon-container.js-icon-retry') do
expect(page).to have_selector('.js-icon-retry') expect(page).to have_selector('svg')
end end
end end
...@@ -124,8 +124,8 @@ describe 'Pipeline', :js do ...@@ -124,8 +124,8 @@ describe 'Pipeline', :js do
expect(page).to have_content('manual') expect(page).to have_content('manual')
end end
page.within('#ci-badge-manual-build .ci-action-icon-container') do page.within('#ci-badge-manual-build .ci-action-icon-container.js-icon-play') do
expect(page).to have_selector('.js-icon-play') expect(page).to have_selector('svg')
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment