test(tests): R2 non-regression sweep fixes
openTab waits for the shown place on every tab again (the former goToTab waited for the annotations place). editor-equine.spec opens the citations panel again on a finding of the equine copy, « Suture sagittale (entre les deux pariétaux) » (unique, cited, reached in five expansions: openCitations takes an optional expansion budget, default 4); updated for typecheck only, never run (owner rule). Sweep: e2e:shell all 21 specs except editor-equine on db:sandbox: 219 passed / 116 skipped / 3 failed, the three in admin.spec, « Target crashed » during axe on admin screens that render every accumulated grant (not R2); new specs run twice (sweep + 33 passed after these fixes); full-row guard: no pre-existing row changed in any table. R-24 audit of 49867ba..HEAD: 58 mapped, 17 justified, 0 lost. Gates: typecheck, lint, test:run (app 1488), build, e2e:ui 251.
This commit is contained in:
1 parent
8db6f4287f
commit
4b7d2542fd
2 files changed
+25
-7
No files matched your search
@@ -15,6 +15,7 @@ import {
|
||||
type Actor,
|
||||
annotationList,
|
||||
editorActor,
|
||||
openCitations,
|
||||
openEditor,
|
||||
openTab,
|
||||
openSection,
|
||||
@@ -395,11 +396,18 @@ 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 panel mounted once: all of them stay mounted (B2a).
|
||||
// Every tab, section and the citations panel 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)
|
||||
await openTab(page, dict, 'references')
|
||||
// Zone parietal, 5 steps down to the sagittal suture (unique name, cites references).
|
||||
await openCitations(
|
||||
page,
|
||||
dict,
|
||||
'Suture sagittale (entre les deux pariétaux)',
|
||||
5,
|
||||
)
|
||||
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