From 9a6a120ac69044ad3d1b6e4edaf9b79c12a2ef1f Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Wed, 11 Sep 2024 12:23:09 +0200 Subject: [PATCH] run some tests in selenium --- spec/system/instructeurs/procedure_filters_spec.rb | 4 ++-- spec/system/users/list_dossiers_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/system/instructeurs/procedure_filters_spec.rb b/spec/system/instructeurs/procedure_filters_spec.rb index 05c8f72c693..6b2314b445e 100644 --- a/spec/system/instructeurs/procedure_filters_spec.rb +++ b/spec/system/instructeurs/procedure_filters_spec.rb @@ -43,7 +43,7 @@ end end - scenario "should add be able to add created_at column", js: true do + scenario "should add be able to add created_at column", chrome: true do add_column("Créé le") within ".dossiers-table" do expect(page).to have_link("Créé le") @@ -51,7 +51,7 @@ end end - scenario "should add be able to add and remove custom type_de_champ column", js: true do + scenario "should add be able to add and remove custom type_de_champ column", chrome: true do add_column(type_de_champ.libelle) within ".dossiers-table" do expect(page).to have_link(type_de_champ.libelle) diff --git a/spec/system/users/list_dossiers_spec.rb b/spec/system/users/list_dossiers_spec.rb index 5d4cc3eac05..678e2d827ac 100644 --- a/spec/system/users/list_dossiers_spec.rb +++ b/spec/system/users/list_dossiers_spec.rb @@ -58,7 +58,7 @@ context 'when there is more than one page' do let(:dossiers_per_page) { 2 } - scenario 'the user can navigate through the other pages' do + scenario 'the user can navigate through the other pages', chrome: true do expect(page).not_to have_link(dossier_en_instruction.procedure.libelle) page.click_link("Suivant") page.click_link("Suivant")