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
@@ -15,6 +15,8 @@ import {
|
||||
type Actor,
|
||||
annotationList,
|
||||
editorActor,
|
||||
closeCitations,
|
||||
closeFinding,
|
||||
openCitations,
|
||||
openEditor,
|
||||
openTab,
|
||||
@@ -396,7 +398,7 @@ test.describe('equine working copy and commit latency', () => {
|
||||
await stepUpAdmin(page, dict, actor.secret)
|
||||
await page.goto(`/app/admin/sheets/${copyId}/draft`)
|
||||
await expect(toolButton(page, dict, 'point')).toBeEnabled()
|
||||
// Every tab, section and the citations panel mounted once: all of them stay mounted (B2a).
|
||||
// Every tab, section and the citations sheet mounted once: all of them stay mounted (B2a).
|
||||
for (const tab of ['general', 'findings', 'verification'])
|
||||
await selectTab(page, dict, tab)
|
||||
for (const section of SECTIONS) await openSection(page, dict, section)
|
||||
@@ -408,6 +410,8 @@ test.describe('equine working copy and commit latency', () => {
|
||||
'Suture sagittale (entre les deux pariétaux)',
|
||||
5,
|
||||
)
|
||||
await closeCitations(page, dict)
|
||||
await closeFinding(page, dict)
|
||||
const renames = await measureRenames(page, 'equine, all places: rename')
|
||||
const additions = await measureAdditions(page, 'equine, all places: add')
|
||||
for (const line of [renames, additions])
|
||||
|
||||
Reference in new issue
Block a user