feat(editor): sheet landings, history and e2e for the finding layers

« Tout afficher » clears the search and keeps the sort. A landing waits
for the dialogs a move closed and for their focus restore. Helpers and
shell specs move to the dialog and sheet flow; new finding dialog spec
(entries, guards, flip, gone rule, Back and Forward over the layers).
This commit is contained in:
bchanot committed 2026-11-13 19:03:21 +01:00
1 parent 18085cecf8
commit 4731a3376a
21 files changed
+782 -474

No files matched your search

+6 -1
View File
@@ -6,6 +6,7 @@ import { expect, expectAccessible, test } from '../support/browser'
import { dropLateReplays, routeToSandbox } from '../support/sandbox'
import {
clickDrawing,
closeFinding,
createFromPanel,
creationPanel,
editorActor,
@@ -119,7 +120,11 @@ async function createFindings(page: Page) {
await page.locator('#category-new-en').fill('Trial category')
await clickButton(page, dict['editor.general.category_add'])
await selectTab(page, dict, 'findings')
const create = () => clickButton(page, dict['editor.findings.create'])
// « Créer » turns the dialog into the new element's view: close it before the next add.
const create = async () => {
await clickButton(page, dict['editor.findings.create'])
await closeFinding(page, dict)
}
const names = async (frName: string, enName: string) => {
await page.locator('#finding-new-name-fr').fill(frName)
await page.locator('#finding-new-name-en').fill(enName)