From c9b3c22c04526a21f28e5b3a3a3cbd59727d2614 Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Tue, 7 Oct 2014 12:45:40 +0200 Subject: [PATCH] Wait for context menu being closed --- .../accessibility/work_packages/work_package_query_spec.rb | 1 + 1 file changed, 1 insertion(+) 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') }