test(editor): lot K review fixes, filled-document save proof

This commit is contained in:
bchanot committed 2026-11-04 15:52:15 +01:00
1 parent bb99edd2dd
commit 4cc27a8231
10 files changed
+132 -32

No files matched your search

+2 -2
View File
@@ -166,9 +166,9 @@ test.describe('editor drawings (A2)', () => {
.getByRole('group', { name: dict['editor.annotations.views'] })
.getByRole('button', { name: 'Détail A' })
.click()
// The view shows the crop of the parent drawing, not the whole drawing.
await expect(
page.getByTestId('annotation-canvas-drawing').locator('svg').first(),
).toBeVisible()
await expect(page.getByTestId('annotation-overlay')).toBeAttached()
).toHaveAttribute('viewBox', '100 100 300 240')
})
})