Bug 34319: Upgrade cypress 9.7.0 to 12.17.2
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 20 Jul 2023 09:53:19 +0000 (11:53 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Sep 2023 14:52:25 +0000 (11:52 -0300)
commit4f45300d91bcedffd3981d7116c3d9ab47180460
treea1b298ab7b5744df261da292d9f9eb6e96058e48
parentb46418478ed5c0b28360aa6d0a01c1042f1bd28d
Bug 34319: Upgrade cypress 9.7.0 to 12.17.2

We are currently using 9.7.0. Since 10 the config file structure changed, and has been renamed cypress.json to cypress.config.ts

https://docs.cypress.io/guides/references/migration-guide#Migrating-to-Cypress-version-10-0

Also cypress-studio (used for bug 34076) is not working on 9.7.0.

Test plan:
yarn install
yarn build
mv /root/.cache/Cypress/12.17.2/ /kohadevbox/Cypress/
perl /kohadevbox/misc4dev/run_tests.pl --run-cypress-tests-only

You should not get any failures from the tests.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
cypress.config.ts [new file with mode: 0644]
cypress.json [deleted file]
package.json
t/cypress/support/commands.js [deleted file]
t/cypress/support/e2e.js [new file with mode: 0644]
t/cypress/support/index.js [deleted file]