Skip to content

Commit

Permalink
run some tests in selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
tchak committed Sep 16, 2024
1 parent a57d8f2 commit 20af103
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/system/instructeurs/procedure_filters_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
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")
expect(page).to have_link(new_unfollow_dossier.created_at.strftime('%d/%m/%Y'))
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)
Expand Down
2 changes: 1 addition & 1 deletion spec/system/users/list_dossiers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 20af103

Please sign in to comment.