From 8e537754bf74b60bf8cb96c11526d20e3b4c7a75 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 4 Mar 2022 11:21:14 +0100 Subject: [PATCH] Maintenance: Stabilize search bulkform test. --- spec/system/search_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/search_spec.rb b/spec/system/search_spec.rb index b4f542cc9..beb95fece 100644 --- a/spec/system/search_spec.rb +++ b/spec/system/search_spec.rb @@ -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