fix(verify): unwrap canonical popup scenario secrets

This commit is contained in:
morluto committed 2026-10-24 08:40:20 +08:00
1 parent 3c0b26df67
commit 06bafdef14
1 file changed
+2 -2
+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),