playwright-vscode
playwright-vscode copied to clipboard
Playwright Test Visual Studio Code integration
When I'm setting up a route mocking: ```ts page.route('/api/auth/session', (route) => { if (route.request().method() === 'GET') { return route.fulfill({ status: 200, body: '{"user":{"id":"userId","name":"John Doe","email":"[email protected]","emailVerified":null,"image":"https://avatars.githubusercontent.com/u/16015833?v=4","stripeId":null,"graphNavigation": "TRACKPAD"}}', }) } return route.continue() })...
Since there have been some issues regarding repositories which do not offer a traditional `node_modules` folder (#133) I tried to get this extension working for repositories with yarn-v3 and PnP....
There is no reason to scan node_modules in the workspace and then ignore files. This also allows the extension to work when your workspace folder path includes node_modules.
* Using Windows 10 & VS Code v1.64.2 (user setup) * Install Microsoft's official Playwright extension v0.2.1 * Add Playwright to project with `Ctrl-Shift-P` and typing `install playwright` * Click...
I have some authentication state stored in storageState.json. I place `test.use({ storageState: "storageState.json" });` at either the top of my test file OR within a test.describe block to restore the...
How can I have the extension use the config file for the browser to use? If I run: npx playwright test from the command line, tests executed fine. If I...
We're using `test.describe` to provide a top-level label on parameterized tests, per this documentation: https://playwright.dev/docs/test-annotations#group-tests The text in the `test.describe` is not added to the test name, which makes it...
When filtering by "@" tag, all tests are shown. Only one test should be shown.  Tag is able to be searched for without "@". 
After upgrading @playwright/test to 1.25.0 the playwright inspector no longer opens by calling `await page.pause()`. Downgrading to 1.24.2 resolves this issue temporarily. Once the page.pause() is hit, the test just...
I'd like to use the plugin to run the current test, but when debugging I'd like `pwdebug=console`, so I have access to the `playwright` object in the browser console. I...