This is a WedriverI0 + Mocha based setup utilising the POM (Page Object) method for different pages from application under test. The BrowserUtils namespace combines the actions to interact with Page Objects AKA facade design patter.
/test/specs
: Contains the test spec file/src/
: Contains the page objectswdio.conf.ts
: Test runner config
- Node installation
- Java installation for generating report
-
Clone the Repository
git clone https://github.com/KroganUrdnot/wdio9_mocha.git npm run wdio npm run report