fix(editor): verifier gaps: ratified wordings, copy messages, real SVG journeys

This commit is contained in:
bchanot committed 2026-11-04 17:27:45 +01:00
1 parent 9ba6d2b66c
commit d10ba5d5dd
18 files changed
+227 -97

No files matched your search

@@ -241,9 +241,7 @@ describe('drawing upload flow', () => {
new SheetFailure('size_mismatch'),
)
await pick(svg('0 0 200 100'))
expect(
await screen.findByText(/ne correspond pas à celle annoncée/),
).toBeTruthy()
expect(await screen.findByText(/diffère de celle enregistrée/)).toBeTruthy()
expect(mainAsset()).toBe(ASSET)
})
@@ -252,7 +250,9 @@ describe('drawing upload flow', () => {
sb.downloadSheetDrawing.mockResolvedValue(new TextEncoder().encode('autre'))
await pick(svg('0 0 200 100'))
expect(
await screen.findByText(/Un fichier différent existe déjà/),
await screen.findByText(
/ne correspond pas à son empreinte SHA-256 enregistrée/,
),
).toBeTruthy()
expect(mainAsset()).toBe(ASSET)
})