run some tests in selenium
This commit is contained in:
parent
a57d8f2df8
commit
20af103bf5
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ describe "procedure filters" do
|
||||||
end
|
end
|
||||||
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")
|
add_column("Créé le")
|
||||||
within ".dossiers-table" do
|
within ".dossiers-table" do
|
||||||
expect(page).to have_link("Créé le")
|
expect(page).to have_link("Créé le")
|
||||||
|
@ -51,7 +51,7 @@ describe "procedure filters" do
|
||||||
end
|
end
|
||||||
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)
|
add_column(type_de_champ.libelle)
|
||||||
within ".dossiers-table" do
|
within ".dossiers-table" do
|
||||||
expect(page).to have_link(type_de_champ.libelle)
|
expect(page).to have_link(type_de_champ.libelle)
|
||||||
|
|
|
@ -58,7 +58,7 @@ describe 'user access to the list of their dossiers', js: true do
|
||||||
context 'when there is more than one page' do
|
context 'when there is more than one page' do
|
||||||
let(:dossiers_per_page) { 2 }
|
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)
|
expect(page).not_to have_link(dossier_en_instruction.procedure.libelle)
|
||||||
page.click_link("Suivant")
|
page.click_link("Suivant")
|
||||||
page.click_link("Suivant")
|
page.click_link("Suivant")
|
||||||
|
|
Loading…
Reference in a new issue