48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
// Setup Auth
|
|
"name": "Auth",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "npx",
|
|
"runtimeArgs": ["ts-node", "src/save-auth.ts"],
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
// Run all
|
|
"name": "Run all",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "npx",
|
|
"runtimeArgs": ["playwright", "test"],
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
// Run Tests file Debug mode
|
|
"name": "DebugCurrent",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "npx",
|
|
"runtimeArgs": [
|
|
"playwright",
|
|
"test",
|
|
"${fileBasename}",
|
|
"--headed",
|
|
"--project=Desktop Chrome"
|
|
],
|
|
"env": {
|
|
"PWDEBUG": "1"
|
|
},
|
|
"console": "integratedTerminal"
|
|
}
|
|
]
|
|
}
|