fix(editor): verifier gaps: ratified wordings, copy messages, real SVG journeys
This commit is contained in:
1 parent
9ba6d2b66c
commit
d10ba5d5dd
18 files changed
+227
-97
No files matched your search
@@ -368,7 +368,7 @@ describe('permission lost during the session', () => {
|
||||
await refusedSave('draft.frozen')
|
||||
expect(
|
||||
await screen.findByText(/Une revue est en cours sur ce brouillon/),
|
||||
).toHaveTextContent('Une copie locale temporaire existe dans cet onglet.')
|
||||
).toHaveTextContent(fr['editor.draft.copy_kept'])
|
||||
expect(screen.getByText('Lecture seule')).toBeInTheDocument()
|
||||
expect(screen.queryByRole('button', { name: 'Enregistrer' })).toBeNull()
|
||||
expect(sb.saveSheetDraft).toHaveBeenCalledTimes(1)
|
||||
@@ -385,7 +385,7 @@ describe('permission lost during the session', () => {
|
||||
await ready()
|
||||
act(() => void commitMove(40))
|
||||
expect(
|
||||
await screen.findByText('Copie locale impossible (stockage plein)'),
|
||||
await screen.findByText(fr['editor.draft.status.copy_quota']),
|
||||
).toBeInTheDocument()
|
||||
await user.click(screen.getByRole('button', { name: 'Enregistrer' }))
|
||||
const notice = await screen.findByText(/Votre session a expiré/)
|
||||
|
||||
Reference in new issue
Block a user