A project to demonstrate a UI testing solution with WebdriverIO, Puppeteer, and Teremock.
The project uses two sub-projects:
- Service
The sub-project located in the
service
folder is a simple ReactJS based web application to be used in the tests, to demostrate the capabilities of the solution. - Test
The project located in the
test
folder contains the actual test code with the solution to mock requests of the service.
The different states of the solution can be found on the following branches (all branch contains the previous):
part-1
: the service is implementedpart-2
: the tests are implementedpart-3
: basic mocking is enabledpart-4
: mocking definition logic is addedpart-5
: mocks added, the final version of the code
The master
branch only contains this information.
To know more: https://epa.ms/idea-pool.