There is an it.only in Agreements_spec.ts that needs removing to allow all tests to run
Created attachment 171529 [details] [review] Bug 37929: Remove it.only from Agreements_spec Test plan: 1) Run the cypress tests for Agreements_spec.ts yarn cypress run --spec t/cypress/integration/ERM/Agreements_spec.ts 2) Only the Delete test will run 3) Apply patch and yarn build 4) Run test again, all tests should run
Created attachment 171536 [details] [review] Bug 37929: Remove it.only from Agreements_spec Test plan: 1) Run the cypress tests for Agreements_spec.ts yarn cypress run --spec t/cypress/integration/ERM/Agreements_spec.ts 2) Only the Delete test will run 3) Apply patch and yarn build 4) Run test again, all tests should run Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Trivial, skipping QA.
Added a test in the QA script: https://gitlab.com/koha-community/qa-test-tools/-/merge_requests/73
Hm, should these tests fail for me? :( 4) Agreement CRUD operations Delete agreement: Error: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection. > Cannot extend unknown button type: excelHtml5 When Cypress detects uncaught errors originating from your application it will automatically fail the current test. This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event. https://on.cypress.io/uncaught-exception-from-application at makeErrFromObj (http://localhost:8081/__cypress/runner/cypress_runner.js:75086:12) at errorFromProjectRejectionEvent (http://localhost:8081/__cypress/runner/cypress_runner.js:75409:10) at Object.errorFromUncaughtEvent (http://localhost:8081/__cypress/runner/cypress_runner.js:75414:65) at <unknown> (http://localhost:8081/__cypress/runner/cypress_runner.js:137932:66) Waiting for a reply here before pushing. I reset my database with reset_all and re-ran the tests but the error remains.
It's bug 37824
Pushed for 24.11! Well done everyone, thank you!