diff --git a/spec/features/accessibility/work_packages/work_package_query_spec.rb b/spec/features/accessibility/work_packages/work_package_query_spec.rb index 63e258d17e..9e630277bc 100644 --- a/spec/features/accessibility/work_packages/work_package_query_spec.rb +++ b/spec/features/accessibility/work_packages/work_package_query_spec.rb @@ -260,6 +260,7 @@ describe 'Work package index accessibility', :type => :feature do expect(page).to have_selector(target_link) element = find(target_link) element.native.send_keys(:enter) + expect(page).not_to have_selector(target_link) end it { expect(page).to have_selector(source_link + ':focus') }