fix(verify): unwrap canonical popup scenario secrets

This commit is contained in:
morluto
2026-10-24 08:34:18 +08:00
parent 3c0b26df67
commit 06bafdef14
+2 -2
View File
@@ -98,13 +98,13 @@ const verifySharedContext = async (executable, origin) => {
scenarioFor(executable, origin, ["network"]),
{},
);
assert.ok(secrets);
if (!secrets.ok) throw secrets.error;
const events = new PlaywrightScenarioEvents({
page,
context,
ownsContext: false,
enabled: new Set(["network"]),
secrets,
secrets: secrets.value,
});
await Promise.all([
page.goto(origin),