Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(mcp): fix file download test flake (#37725)
Adam Gastineauc0243cb82276
diff --git a/tests/mcp/files.spec.ts b/tests/mcp/files.spec.tsindex 6677a44027..25f9286ab5 100644--- a/tests/mcp/files.spec.ts+++ b/tests/mcp/files.spec.ts@@ -146,6 +146,6 @@ test('navigating to download link emits download', async ({ startClient, server,url: server.PREFIX + '/download',},})).toHaveResponse({- downloads: expect.stringContaining(`- Downloaded file test.txt to`),+ downloads: expect.stringMatching(`- Downloaded file test\.txt to|- Downloading file test\.txt`),});});