]> git.koha-community.org Git - koha.git/commit
Bug 32030: ERM - Add "integration" tests using Cypress
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Mar 2022 11:16:45 +0000 (12:16 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Nov 2022 12:43:39 +0000 (09:43 -0300)
commitb0c6ca0e2b5a66f7cc01394f201e7851bcdb0cf2
tree753864226ba4852771872149d8c6b1c4e5076eb2
parent48c1c031270942e1948274af6d982f9dae67680e
Bug 32030: ERM - Add "integration" tests using Cypress

We are mocking the REST API routes responses here, we could do better,
but it's a nice first step.

To run the tests:
From the host (ie. *not* inside ktd): `yarn run cypress open`

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
cypress.json [new file with mode: 0644]
cypress/integration/Agreements_spec.ts [new file with mode: 0644]
cypress/plugins/index.js [new file with mode: 0644]
cypress/support/commands.js [new file with mode: 0644]
cypress/support/index.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementPeriods.vue
package.json
tsconfig.json
webpack.config.js