Boilerplate project to run native and browser for android and ios using mocha with page object pattern.
- WebdriverIO v6
- Mocha v6
- Node version 10.16 or higher
- Appium
- Native Android and iOS apps
- Android Chrome browser
- iOS Safari browser
- Supports Page Object Model
- Contains sample test scenarios in mocha
- Supports eslint
- Supports allure reporting
Click below to know more
Follow the below commands -
-
Clone the project -
https://github.com/Arjun-Ar91/WebdriverIO-V6-appium-mocha-boilerplate.git
. -
Install dependencies using
npm i
in the terminal. -
Update the deviceName and platFormVersion in
config/android.info.js
andconfig/ios.info.js
respectively. -
Execute
npm run ios
to run ios native app -
Execute
npm run iosBrowser
to run ios safari browser -
Execute
npm run android
to run android native app -
Execute
npm run androidBrowser
to run android chrome browser -
Execute
npm run lint
to run the eslint for the project -
Execute
npm run allure
to generate the allure report