Skip to content
Snippets Groups Projects
Commit 33ca6966 authored by Tim Zallmann's avatar Tim Zallmann
Browse files

Fixing Tests and CSS display

parent 38a98662
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -725,9 +725,9 @@ button.mini-pipeline-graph-dropdown-toggle {
fill: $gl-text-color-secondary;
width: $ci-action-icon-size;
height: $ci-action-icon-size;
left: -6px;
left: -3px;
position: relative;
top: -3px;
top: 0;
}
 
&:hover svg,
Loading
Loading
@@ -743,6 +743,14 @@ button.mini-pipeline-graph-dropdown-toggle {
left: 8px;
}
}
svg.icon-action-play,
svg.icon-action-stop {
width: 12px;
height: 12px;
top: 1px;
left: 0;
}
}
 
// link to the build
Loading
Loading
Loading
Loading
@@ -15,5 +15,5 @@
%span.ci-build-text= subject.name
 
- 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
= sprite_icon(status.action_icon)
= 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, css_class: "icon-action-#{status.action_icon}")
Loading
Loading
@@ -86,8 +86,8 @@ describe 'Pipeline', :js do
expect(page).to have_content('build')
end
 
page.within('#ci-badge-build .ci-action-icon-container') do
expect(page).to have_selector('.js-icon-retry')
page.within('#ci-badge-build .ci-action-icon-container.js-icon-retry') do
expect(page).to have_selector('svg')
end
end
 
Loading
Loading
@@ -105,8 +105,8 @@ describe 'Pipeline', :js do
expect(page).to have_content('test')
end
 
page.within('#ci-badge-test .ci-action-icon-container') do
expect(page).to have_selector('.js-icon-retry')
page.within('#ci-badge-test .ci-action-icon-container.js-icon-retry') do
expect(page).to have_selector('svg')
end
end
 
Loading
Loading
@@ -124,8 +124,8 @@ describe 'Pipeline', :js do
expect(page).to have_content('manual')
end
 
page.within('#ci-badge-manual-build .ci-action-icon-container') do
expect(page).to have_selector('.js-icon-play')
page.within('#ci-badge-manual-build .ci-action-icon-container.js-icon-play') do
expect(page).to have_selector('svg')
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment