Lisa Durand
3469eeea17
fix tests
2024-09-18 11:09:14 +02:00
Paul Chavard
1577fdd6af
add playwright debug helper
2024-09-16 12:31:10 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment
2024-08-22 09:26:48 +02:00
Paul Chavard
9f9243499c
refactor(combobox): fix specs
2024-07-05 09:36:33 +02:00
Corinne Durrmeyer
e5959b6081
Update test file
2024-06-18 15:13:54 +02:00
Martin
69346ad41f
tech(review): implement some pair review suggestions
2024-01-12 11:00:29 +01:00
Martin
1f13000537
amelioraiton(instructeur.filtres): utilise un combobox pour rechercher le type de champs
2023-12-08 16:10:18 +01:00
krichtof
fce2d8efa9
Merge pull request #9710 from demarches-simplifiees/9615-form-autosave
...
ETQ admin, je peux savoir quand mon formulaire a été sauvegardé pour la dernière fois
2023-11-23 23:17:14 +00:00
Christophe Robillard
9c641ccee1
remove flash success messages
2023-11-23 17:10:29 +01:00
Christophe Robillard
2c6a9e7bf2
add autosave feedback when admin updates form
2023-11-23 13:35:53 +01:00
Colin Darie
2343ee83ef
test: fix flaky brouillon on repetition
2023-11-14 09:23:00 +01:00
Lisa Durand
c88e6ab75c
fix specs
2023-10-17 12:25:58 +02:00
Christian Lautier
db278e83ed
add a constant for the most used test password
2023-08-31 13:40:05 +02:00
Martin
7779aa648f
tech(test.flacky): utilise click_on en lieu et place de wait_for_autosave sur dossier_shared_examples.rb
...
supprime un parametre inutile de la methode wait_for_autosave
2023-08-30 10:01:19 +02:00
simon lehericey
dbb5b7deec
clean(js): remove unused autosave:reset
2022-10-25 14:44:43 +02:00
simon lehericey
e71b7eeee5
refactor(spec): wait for debounce and in flight promise
2022-10-25 14:44:43 +02:00
Paul Chavard
dd38fa4458
refactor(spec): add wait_for_autosave helper
2022-10-13 14:44:46 +02:00
simon lehericey
fa133d03d0
spec(system): try to fix logout
2022-10-07 18:23:41 +02:00
Martin
91eeb4bf1c
fix(spec.flacky): maybe flacky due to css animation not loved by capy
2022-10-04 15:20:22 +02:00
simon lehericey
3f0fd506bd
fix(system spec): increase timeout for log out
2022-09-29 17:31:38 +02:00
Martin
96cdae0dd5
feat(DSFR.header): switch to DSFR header
2022-09-06 10:09:12 +02:00
Colin Darie
1601a18c34
test(combobox): increase wait time because component may be slow to render
...
Fix erreur type 'Unable to find css "li[role=\"option\"]'
Ce problème peut-être reproduit en local, en diminuant le wait à 0.001 ;
avec une plus grande valuer il disparaît.
2022-08-03 16:15:40 +02:00
Paul Chavard
7e81b257b1
test(system): simplify select menu selector
2022-01-13 17:49:16 +01:00
Paul Chavard
cb66348916
a11y(select): cleanup select helpers in specs
2022-01-05 12:33:40 +01:00
Pierre de La Morinerie
8b3d31980a
specs: use Instructeur.bypass_email_login_token in the tests
2021-12-02 08:51:52 +01:00
Paul Chavard
ba0211ba52
feat(champ): ask for departement before asking for commune
2021-11-04 11:55:25 +01:00
Pierre de La Morinerie
9fd38cae5e
specs: migrate from features to system specs
...
System specs have been available since Rails 5.1, and are better
integrated with the Rails framework.
- Rename `spec/features` to `spec/system`
- Rename `feature do` to `describe do`
- Configure Capybara for system specs
Steps mostly taken from https://medium.com/table-xi/a-quick-guide-to-rails-system-tests-in-rspec-b6e9e8a8b5f6
2021-10-26 12:24:46 +02:00