Did you know there is an alternative solution to validate/test the web application? Let me introduce the Cypress. If you are familiar with JavaScript, Mocha test framework, and web stack definitely you should try it.
-- automaton-v21
|-- .gitignore
|-- .gihub/workflows/node.js.yml
|-- LICENSE
|-- README.md
|-- cypress.json
|-- package.json
|-- package-lock.json
`-- cypress
`-- integration
`-- test.js
The repository structure is simple. It has as usual github workflow configuration file for GitHub Actions, License, Readme.md, cypress.json, package.json, package-lock.json, and test.js.
The last file (test.js) describes 2 test suites. The first test suite for UI testing contains 2 simple tests like go to google.com
and the second one is try to perform search action and get some results
.
The second test suite for REST API testing contains 2 tests - go to a specific API endpoint and get a positive response from server
and get first quote
.
You may check test results in GitHub Actions.
- Uder development
- Add more tests.