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

@@ -132,6 +132,19 @@ test.describe('editor geometry (adversarial)', () => {
const shown = await proposed(page)
expect(Number(shown.x)).toBeGreaterThan(100)
expect(Number(shown.y)).toBeGreaterThan(100)
// Cancelled first: nothing is added to the crop's view.
await notice(page)
.getByRole('button', {
name: dict['editor.annotations.correction_cancel'],
})
.click()
await expect(notice(page)).toHaveCount(0)
await expect(list(page)).toHaveCount(0)
// Then confirmed: the same attempt again inserts the corrected position.
await creation(page)
.getByRole('button', { name: dict['editor.annotations.create'] })
.click()
expect(await proposed(page)).toEqual(shown)
await notice(page)
.getByRole('button', { name: dict['editor.annotations.correction_use'] })
.click()