mirror of
https://github.com/morluto/rea
synced 2026-10-25 22:08:11 -04:00
fix(verify): unwrap canonical popup scenario secrets
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user