- Expect in WebdriverIO (Assertions)
- Cloud Integration: LambdaTest
- Download and install Node.js
- Download and install any Text Editor like Visual Code/Sublime/Brackets
- Install GitLens Extension from the Marketplace:
GitLens — Git supercharged by GitKraken https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
- Install Material Icon Theme Extension from the Marketplace:
Material Icon Theme by Philipp Kief https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
- Go to Visual Code Preference > Setting and search
formatOnSave
and enable/ON it.
- Clone the repository into a folder
- Go to Project root directory and install Dependency:
npm install
- All the dependencies from package.json would be installed in node_modules folder.
- Go to the Project root directory and run command:
npm run wdio
- Go to the Project root directory and run command:
npm run wdio wdio.conf.js --spec ./test/specs/to-have-url.e2e.js
- Go to Project root directory and run command:
npm run lambdatest