Selenium: Setup Visual Studio code debugging

Change-Id: Ic3b2a920a6e9ccb06725aa06104f0a124346e7f8
This commit is contained in:
Edward Tadros 2020-06-08 07:42:00 -07:00
parent 9716e52f30
commit d4ff1f2d2a
2 changed files with 15 additions and 1 deletions

1
.gitignore vendored
View file

@ -9,4 +9,3 @@
/tests/selenium/log /tests/selenium/log
/tmp /tmp
/.resolve-less-imports /.resolve-less-imports
.vscode/launch.json

15
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "run select spec",
"type": "node",
"request": "launch",
"args": ["tests/selenium/wdio.conf.js", "--spec", "${file}"],
"cwd": "${workspaceFolder}",
"autoAttachChildProcesses": true,
"program": "${workspaceRoot}/node_modules/@wdio/cli/bin/wdio.js",
"console": "integratedTerminal"
}
]
}