Fix manual spec without hierarchies

pull/7396/head
Oliver Günther 5 years ago
parent f0dd2e3df3
commit ed0c18f3b1
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      spec/features/work_packages/sorting/manual_sorting_spec.rb

@ -50,6 +50,7 @@ describe 'Manual sorting of WP table', type: :feature, js: true do
end end
let(:sort_by) { ::Components::WorkPackages::SortBy.new } let(:sort_by) { ::Components::WorkPackages::SortBy.new }
let(:hierarchies) { ::Components::WorkPackages::Hierarchies.new }
let(:dialog) { ::Components::ConfirmationDialog.new } let(:dialog) { ::Components::ConfirmationDialog.new }
before do before do
@ -61,6 +62,7 @@ describe 'Manual sorting of WP table', type: :feature, js: true do
work_package_4 work_package_4
wp_table.visit! wp_table.visit!
hierarchies.disable_via_header
wp_table.expect_work_package_order work_package_1, work_package_2, work_package_3, work_package_4 wp_table.expect_work_package_order work_package_1, work_package_2, work_package_3, work_package_4
end end

Loading…
Cancel
Save