feat(dossier): fork dossier when editing en construction
This commit is contained in:
parent
025bd5beaf
commit
08a2a2c9aa
20 changed files with 193 additions and 99 deletions
|
@ -119,6 +119,8 @@ describe 'The routing', js: true do
|
|||
fill_in litteraire_user.dossiers.first.champs_public.first.libelle, with: 'some value'
|
||||
wait_for_autosave(false)
|
||||
|
||||
click_on 'Déposer les modifications'
|
||||
|
||||
log_out
|
||||
|
||||
# the litteraires instructeurs should have a notification
|
||||
|
@ -217,6 +219,8 @@ describe 'The routing', js: true do
|
|||
|
||||
expect(page).to have_text(new_group)
|
||||
|
||||
click_on 'Déposer les modifications'
|
||||
|
||||
log_out
|
||||
end
|
||||
|
||||
|
|
|
@ -146,6 +146,8 @@ describe 'The routing with rules', js: true do
|
|||
fill_in litteraire_user.dossiers.first.champs_public.first.libelle, with: 'some value'
|
||||
wait_for_autosave(false)
|
||||
|
||||
click_on 'Déposer les modifications'
|
||||
|
||||
log_out
|
||||
|
||||
# the litteraires instructeurs should have a notification
|
||||
|
@ -245,6 +247,8 @@ describe 'The routing with rules', js: true do
|
|||
|
||||
expect(page).to have_text(new_group)
|
||||
|
||||
click_on 'Déposer les modifications'
|
||||
|
||||
log_out
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue