Installs the dependencies and creates the node modules folder.
npm run *script-name-here*
- runs the tests specified for this script in the package.json file
Once you've added your test spec to the relevant folder (/test/specs), update the scripts
object in your package.json
file to include the command you'll be using to execute your test.
Eg: If I create a test for Buttons
at the following path ./test/specs/buttons.e2e.js
. I could then add "button-test": "npx wdio run wdio.conf.js --spec ./test/specs/buttons.e2e.js"
to the scripts object of my package.json file.
"workflowTest": "npx wdio run wdio.conf.js --spec ./test/specs/workflo.e2e.js"
To run automation test for workflow assignment