Created
June 18, 2021 22:57
-
-
Save sahmeepee/57245410f9314bebc31d5c44b5201640 to your computer and use it in GitHub Desktop.
VSCode basic setup for Playwright Test Runner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch all tests", | |
"request": "launch", | |
"runtimeArgs": [ | |
"run-script", | |
"tests" | |
], | |
"runtimeExecutable": "npm", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "yourprojectname", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"tests": "npx playwright test" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"devDependencies": { | |
"@playwright/test": "^1.12.2", | |
"playwright": "^1.12.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Runs all tests the test runner can find using the default config or config in playwright.config.js