We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 103e8c8 commit 9d9be64Copy full SHA for 9d9be64
tests/McpContext.test.ts
@@ -43,9 +43,9 @@ describe('McpContext', () => {
43
it('should update default timeout when cpu throttling changes', async () => {
44
await withBrowser(async (_response, context) => {
45
const page = await context.newPage();
46
- const timeoutBefore = page.getDefaultNavigationTimeout();
+ const timeoutBefore = page.getDefaultTimeout();
47
context.setCpuThrottlingRate(2);
48
- const timeoutAfter = page.getDefaultNavigationTimeout();
+ const timeoutAfter = page.getDefaultTimeout();
49
assert(timeoutBefore < timeoutAfter, 'Timeout was less then expected');
50
});
51
0 commit comments