Skip to content

Boilerplate project to run native and browser for android and ios using mocha with page object pattern

Notifications You must be signed in to change notification settings

Arjun-Ar91/WebdriverIO-V6-appium-mocha-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebdriverIO-V6-appium-mocha-boilerplate

Boilerplate project to run native and browser for android and ios using mocha with page object pattern.

Based on

  • WebdriverIO v6
  • Mocha v6
  • Node version 10.16 or higher
  • Appium

Supports

  • 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

Source

Click below to know more

Running sample test

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 and config/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

About

Boilerplate project to run native and browser for android and ios using mocha with page object pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published