test: verify the log in close/navigate test (#505)

This commit is contained in:
Pavel Feldman 2025-06-01 12:49:30 -07:00 committed by GitHub
parent 656779531c
commit f31ef598bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 79 additions and 41 deletions

View file

@ -101,7 +101,7 @@ The tool "browser_file_upload" can only be used when there is related modal stat
});
test('clicking on download link emits download', async ({ startClient, server }, testInfo) => {
const client = await startClient({
const { client } = await startClient({
config: { outputDir: testInfo.outputPath('output') },
});
@ -125,7 +125,7 @@ test('clicking on download link emits download', async ({ startClient, server },
});
test('navigating to download link emits download', async ({ startClient, server, mcpBrowser }, testInfo) => {
const client = await startClient({
const { client } = await startClient({
config: { outputDir: testInfo.outputPath('output') },
});