Maintenance: Stabilize search bulkform test.

This commit is contained in:
Martin Gruner 2022-03-04 11:21:14 +01:00
parent 6937b4667f
commit 8e537754bf

View file

@ -49,7 +49,7 @@ RSpec.describe 'Search', type: :system, authenticated: true, searchindex: true d
end
expect(page).to have_selector('.bulkAction.no-sidebar')
.and have_no_selector('.bulkAction.no-sidebar.hide', visible: :all)
expect(page).to have_no_selector('.bulkAction.no-sidebar.hide', visible: :all)
end
it 'shows bulkform when all checkbox is checked' do
@ -58,7 +58,7 @@ RSpec.describe 'Search', type: :system, authenticated: true, searchindex: true d
end
expect(page).to have_selector('.bulkAction.no-sidebar')
.and have_no_selector('.bulkAction.no-sidebar.hide', visible: :all)
expect(page).to have_no_selector('.bulkAction.no-sidebar.hide', visible: :all)
end
it 'hides bulkform when checkbox is unchecked' do