demarches-normaliennes/spec/system/users
Sébastien Carceles b8ff0ba4a2
feat(demarche): sign up when prefilling a dossier (#8247)
* store prefill params in session

Instead of using query params on /dossier/new, we assume the user comes
from /commencer/:path, which is the new prefill link.

There, we store the prefill params in session, and use them to prefill
the dossier when creating it, in /dossiers/new.

* spec: cover the case

* review: serialize with json instead of yaml

* review: rename method

* review: store only query params

* review: comment why we dont override already stored params
2022-12-15 10:58:17 +01:00
..
brouillon_spec.rb Revert "Merge pull request #7907 from tchak/feat-cond-repetitions" 2022-12-14 11:25:45 +01:00
change_email_spec.rb add e2e spec 2021-11-04 16:10:09 +01:00
dossier_creation_spec.rb fix: escape characters when showing page title 2022-11-25 09:30:20 +01:00
dossier_details_spec.rb feat(dossier): autosave en construction 2022-09-08 11:26:29 +02:00
dossier_prefill_spec.rb feat(demarche): sign up when prefilling a dossier (#8247) 2022-12-15 10:58:17 +01:00
dossier_shared_examples.rb refactor(spec): add wait_for_autosave helper 2022-10-13 14:44:46 +02:00
dropdown_spec.rb refactor(dossier): champs -> champs_public 2022-11-10 22:44:39 +00:00
en_construction_spec.rb feat(piece_justificative): replace with multiple attachments for dossier en_construction 2022-12-14 09:58:15 +01:00
invite_spec.rb feat(dossier): autosave en construction 2022-09-08 11:26:29 +02:00
linked_dropdown_spec.rb refactor(spec): use new procedure.types_de_champ factory 2022-08-04 12:10:32 +02:00
list_dossiers_spec.rb amelioration(usager.liste_des_dossier): ajout du bouton pour cloner un dossier 2022-11-14 09:13:54 +01:00
managing_password_spec.rb style: signin button styled accordingly to UX 2022-10-11 09:50:21 +02:00
sign_out_spec.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
sign_up_spec.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
transfer_dossier_spec.rb chore(dossier_transfer): extract i18n 2022-11-25 13:34:12 +01:00