view: preserve disclosure state and release CLI 2.7.1

This commit is contained in:
cflmy committed 2026-11-11 00:44:32 +08:00
1 parent c0dc18433b
commit eac6921524
21 files changed
+976 -228

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ let browser;
// Read-only no-script fallback still exposes native details and real source text.
const context=await browser.newContext({javaScriptEnabled:false,viewport:{width:390,height:900}});
const plain=await context.newPage();await plain.goto(process.argv[2]);
const note=plain.locator('.annot-implementation').first();await note.locator('summary').click();
const note=plain.locator('.annot-implementation').first();await note.locator(':scope > summary').click();
assert(await note.locator('.annot-value').isVisible());
assert.equal(await plain.locator('.occl-stub').count(),1);
await context.close();