feat: implementation of cypress e2e with some minor test cases.
To test, pull the branch in local.
- Add entry point
https://ahikar-dev.sub.uni-goettingen.de/api/textapi/ahikar/arabic-karshuni/collection.json
and run the application. The app loads in the port8080
. - Added new test id's inside the components to perform test cases. Since these are not available to dev or live, using the localhost as a base url in
cypress.json
config. - Open a new console tab to run tests -
npm run cypress
, as soon the cypress console is opened we can view the app.test.js file and select it. This runs the tests on Chrome browser.
Note:
-
gitlab pipeline were because of the new test config. Will check the scripts and update the MR.
Edited by Manikanth Dindigala