Fix some features tests (DONE)

This commit is contained in:
Xavier J 2017-02-13 13:15:37 +01:00
parent de4bddee93
commit 807a8112e3
2 changed files with 3 additions and 0 deletions

View file

@ -69,6 +69,7 @@ feature 'usage of pref list dossier lateral panel', js: true do
end
scenario 'lateral panel is masked' do
wait_for_ajax
expect(page).to have_css('#pref_list_menu', visible: false)
end
end

View file

@ -35,6 +35,7 @@ feature 'usage of pref list dossier lateral panel by procedure', js: true do
end
scenario 'lateral panel is appeared' do
wait_for_ajax
expect(page).to have_css('#pref_list_menu')
end
@ -69,6 +70,7 @@ feature 'usage of pref list dossier lateral panel by procedure', js: true do
end
scenario 'lateral panel is masked' do
wait_for_ajax
expect(page).to have_css('#pref_list_menu', visible: false)
end
end