A sample project to demonstrate page object pattern using WebDriverIO and API automation using Axios.
WebDriverIO is Javascript based test automation framework built over nodeJs. It is an open-source project developed for the automation testing community. WebDriverIO is extendible, compatible, feature-rich, and easy to install.
Here in this demo project, I have added the Axios library, in order to support API automation too.
Pre-requisites:
Steps:
npm install
to install the node modules.npm test
to run the tests.npm run report
to generate allure report with videos attached in failure tests.