We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a9c7d2 commit b24c267Copy full SHA for b24c267
1 file changed
scripts/eval_scenarios/isolated_context_test.ts
@@ -19,10 +19,13 @@ export const scenario: TestScenario = {
19
`,
20
},
21
expectations: calls => {
22
- console.log(JSON.stringify(calls, null, 2))
+ console.log(JSON.stringify(calls, null, 2));
23
assert.strictEqual(calls.length, 2);
24
assert.ok(calls[0].name === 'new_page', 'First call should be navigation');
25
- assert.deepStrictEqual(calls[0].args.isolatedContext, "contextB");
26
- assert.ok(calls[1].name === 'take_screenshot', 'Second call should be a screenshot');
+ assert.deepStrictEqual(calls[0].args.isolatedContext, 'contextB');
+ assert.ok(
27
+ calls[1].name === 'take_screenshot',
28
+ 'Second call should be a screenshot',
29
+ );
30
31
};
0 commit comments