fix(editor): final review round, history, dialogs, Plus and limits
I1 scroll restored at once on a Back into layers; I2 Aller a opens the target dialog in one push; M1-M9, criteria 8 and 17 (left-draft notice), entry caps, no exhaustive-deps disables, locals within 5.
This commit is contained in:
1 parent
ce171427c0
commit
6bf9290da7
25 files changed
+1002
-202
No files matched your search
@@ -491,9 +491,20 @@ for (const reduced of [false, true]) {
|
||||
// The sheet closes and the family opens in the dialog (view mode); closed, the
|
||||
// row holds the focus.
|
||||
await expect(place(page, 'citations')).toHaveCount(0)
|
||||
const family = findingDialog(page).getByRole('heading', {
|
||||
name: 'Dysfonction A',
|
||||
})
|
||||
await expect(family).toBeVisible()
|
||||
// Back returns to the place « Aller à » left: Constat A with its sheet open.
|
||||
await page.goBack()
|
||||
await expect(page.locator('dialog[open]')).toHaveCount(2)
|
||||
await expect(place(page, 'citations')).toBeVisible()
|
||||
await expect(
|
||||
findingDialog(page).getByRole('heading', { name: 'Dysfonction A' }),
|
||||
findingDialog(page).getByRole('heading', { name: 'Constat A' }),
|
||||
).toBeVisible()
|
||||
await page.goForward()
|
||||
await expect(place(page, 'citations')).toHaveCount(0)
|
||||
await expect(family).toBeVisible()
|
||||
await closeFinding(page, dict)
|
||||
await expect(
|
||||
page.getByRole('treeitem', { name: /Dysfonction A/ }),
|
||||
|
||||
Reference in new issue
Block a user