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:
1 parent
18085cecf8
commit
4731a3376a
21 files changed
+782
-474
No files matched your search
@@ -11,6 +11,8 @@ import {
|
||||
geometryField,
|
||||
historyButton,
|
||||
openEditor,
|
||||
expectNoDialog,
|
||||
findingDialog,
|
||||
openCitations,
|
||||
pickAnnotation,
|
||||
place,
|
||||
@@ -223,11 +225,15 @@ test.describe('deselect and D6b (editor, mouse and keyboard)', () => {
|
||||
await expect(dialog).toHaveCount(0)
|
||||
await expectKept(page, POINT)
|
||||
|
||||
// The citations panel (over Constats): it closes, the selection stays, back on
|
||||
// Annotations a second Escape deselects.
|
||||
// The citations sheet (over the finding dialog over Constats): Escape closes the
|
||||
// sheet only, a second one the dialog, the selection stays, back on Annotations a
|
||||
// third Escape deselects.
|
||||
await openCitations(page, dict, 'Constat A')
|
||||
await page.keyboard.press('Escape')
|
||||
await expect(place(page, 'citations')).toHaveCount(0)
|
||||
await expect(findingDialog(page)).toBeVisible()
|
||||
await page.keyboard.press('Escape')
|
||||
await expectNoDialog(page)
|
||||
await selectTab(page, dict, 'annotations')
|
||||
await expectKept(page, POINT)
|
||||
await box(page).focus()
|
||||
|
||||
Reference in new issue
Block a user