Fix test intermittent introduit par #3479 | Merge pull request #3594 from betagouv/frederic/fix_test_intermittent
Fix test intermittent introduit par #3479
This commit is contained in:
commit
694cb21371
1 changed files with 4 additions and 4 deletions
|
@ -96,20 +96,20 @@ feature "procedure filters" do
|
|||
remove_filter(champ.value)
|
||||
|
||||
within ".dossiers-table" do
|
||||
expect(page).not_to have_link(new_unfollow_dossier.id)
|
||||
expect(page).not_to have_link(new_unfollow_dossier.id, exact: true)
|
||||
expect(page).not_to have_link(new_unfollow_dossier.user.email)
|
||||
|
||||
expect(page).to have_link(new_unfollow_dossier_2.id)
|
||||
expect(page).to have_link(new_unfollow_dossier_2.id, exact: true)
|
||||
expect(page).to have_link(new_unfollow_dossier_2.user.email)
|
||||
end
|
||||
|
||||
remove_filter(champ_2.value)
|
||||
|
||||
within ".dossiers-table" do
|
||||
expect(page).to have_link(new_unfollow_dossier.id)
|
||||
expect(page).to have_link(new_unfollow_dossier.id, exact: true)
|
||||
expect(page).to have_link(new_unfollow_dossier.user.email)
|
||||
|
||||
expect(page).to have_link(new_unfollow_dossier_2.id)
|
||||
expect(page).to have_link(new_unfollow_dossier_2.id, exact: true)
|
||||
expect(page).to have_link(new_unfollow_dossier_2.user.email)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue