Description:
- Project contains samples of the Functional, End-to-End and Integration UI tests with Typescript + WebdriverIO
- Tested website Herokuapp provides a variety of web application examples for testing.
Disclaimer:
- Node version 14 or higher
- Installed [Appium] (./docs/APPIUM.md) on running machine (for testing mobile apps)
- Installed Chrome browser (for testing web based apps)
- Supported on Mac OS
- Clone repo
- Run:
npm install
in the project dir - [Optional] Connect test device to the running machine via USB (for native mobile tests)
- [Optional] Install Appium on a local machine check here
- [Optional] Add configurations for your test devices (environment)
*.config.ts
- Modify running scripts in
package.json
- Run Appium Server (For running native iOS tests on local machine):
appium
- Run tests:
npm run
+ script frompackage.json
, for instance :npm run web.chrome.heroku
, - Open Test report:
- Generate report (Optional, can be generated via hook in config):
npm run report:generate
- Open the allure report:
npm run report:open
Checkout the full documentation about development tests