chore: check version in page, link to instructions (#918)

This commit is contained in:
Yury Semikhatsky
2025-08-19 17:39:58 -07:00
committed by GitHub
parent e664e0460c
commit f6862a39c3
3 changed files with 50 additions and 16 deletions

View File

@@ -233,7 +233,7 @@ for (const [mode, startClientMethod] of [
});
const confirmationPage = await confirmationPagePromise;
await expect(confirmationPage.locator('.status-banner')).toHaveText(`Incompatible Playwright MCP version: ${packageJSON.version} (extension version: 0.0.1). Please install the latest version of the extension.`);
await expect(confirmationPage.locator('.status-banner')).toHaveText(`Incompatible Playwright MCP version: ${packageJSON.version} (extension version: 0.0.1). Please install the latest version of the extension. See installation instructions.`);
expect(await navigateResponse).toHaveResponse({
result: expect.stringContaining('Extension connection timeout.'),