summaryrefslogtreecommitdiff
path: root/spec/features/projects/labels
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-01-06 16:52:18 +0000
committerPhil Hughes <me@iamphill.com>2017-02-06 11:28:16 +0000
commit653c23b9c23b6af8c57b45e7d5444e1ca6d34d9a (patch)
tree72318ea3ae9f968d0f3de2be36ea91786a984ffc /spec/features/projects/labels
parent572fb0be9b1d45437b7c0ed1000399657f471ec7 (diff)
downloadgitlab-ce-653c23b9c23b6af8c57b45e7d5444e1ca6d34d9a.tar.gz
Removed jQuery UI sortableremove-jquery-ui-sortable
Diffstat (limited to 'spec/features/projects/labels')
-rw-r--r--spec/features/projects/labels/update_prioritization_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/projects/labels/update_prioritization_spec.rb b/spec/features/projects/labels/update_prioritization_spec.rb
index 97ce9cdfd87..1e900d7e660 100644
--- a/spec/features/projects/labels/update_prioritization_spec.rb
+++ b/spec/features/projects/labels/update_prioritization_spec.rb
@@ -2,6 +2,7 @@ require 'spec_helper'
feature 'Prioritize labels', feature: true do
include WaitForAjax
+ include DragTo
let(:user) { create(:user) }
let(:group) { create(:group) }
@@ -99,7 +100,7 @@ feature 'Prioritize labels', feature: true do
expect(page).to have_content 'wontfix'
# Sort labels
- find("#project_label_#{bug.id}").drag_to find("#group_label_#{feature.id}")
+ drag_to(selector: '.js-prioritized-labels', from_index: 1, to_index: 2)
page.within('.prioritized-labels') do
expect(first('li')).to have_content('feature')