summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-05-03 19:12:15 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-05-03 19:12:15 +0100
commiteed2812f98e08aab3e016b840528ff4d2e84f826 (patch)
treef5527afb8b6731f551090263ff8a071f04603efd
parent54dbdf28637b1a80b717a7d8916c0429975179ff (diff)
downloadgitlab-ce-eed2812f98e08aab3e016b840528ff4d2e84f826.tar.gz
Fix broken test
-rw-r--r--app/assets/javascripts/pipelines/components/graph/action_component.vue2
-rw-r--r--spec/features/projects/pipelines/pipelines_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pipelines/components/graph/action_component.vue b/app/assets/javascripts/pipelines/components/graph/action_component.vue
index 29ee73a2a6f..3c3fcc67d91 100644
--- a/app/assets/javascripts/pipelines/components/graph/action_component.vue
+++ b/app/assets/javascripts/pipelines/components/graph/action_component.vue
@@ -75,7 +75,7 @@ export default {
v-tooltip
:title="tooltipText"
class="js-ci-action btn btn-blank
-btn-transparent ci-action-icon-container ci-action-icon-wrapper"
+btn-transparent ci-action-icon-container ci-action-icon-wrapper js-ci-action-icon"
:class="cssClass"
data-container="body"
:disabled="isDisabled"
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb
index 705ba78a0b7..53e1e4f0251 100644
--- a/spec/features/projects/pipelines/pipelines_spec.rb
+++ b/spec/features/projects/pipelines/pipelines_spec.rb
@@ -388,7 +388,7 @@ describe 'Pipelines', :js do
it 'should be possible to cancel pending build' do
find('.js-builds-dropdown-button').click
- find('a.js-ci-action-icon').click
+ find('.js-ci-action-icon').click
expect(page).to have_content('canceled')
expect(build.reload).to be_canceled