Summary: | Allow Cypress to test OPAC | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Test Suite | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | Pushed to stable --- | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | martin.renvoize |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Small patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: |
25.11.00,25.05.03
|
Circulation function: | |
Bug Depends on: | 40174 | ||
Bug Blocks: | 40345 | ||
Attachments: |
Bug 40346: Introduce loginOpac and visitOpac - Cypress
Bug 40346: Add tests Bug 40346: Use KOHA_INTRANET_URL for the baseUrl Bug 40346: Introduce loginOpac and visitOpac - Cypress Bug 40346: Add tests Bug 40346: Use KOHA_INTRANET_URL for the baseUrl Bug 40346: Introduce loginOpac and visitOpac - Cypress Bug 40346: Add tests Bug 40346: Use KOHA_INTRANET_URL for the baseUrl |
Description
Jonathan Druart
2025-07-11 07:07:51 UTC
Created attachment 183972 [details] [review] Bug 40346: Introduce loginOpac and visitOpac - Cypress To be able to test the OPAC interface we need to add those 2 new commands Created attachment 183973 [details] [review] Bug 40346: Add tests Adding those patches to their own bug (for reusability), but it's going to be used on bug bug 40345. Test plan: yarn cypress run t/cypress/integration/t/commands.ts must return green. Created attachment 183982 [details] [review] Bug 40346: Use KOHA_INTRANET_URL for the baseUrl This will prevent the test to reload when the URL changes See https://github.com/cypress-io/cypress/issues/2777 Created attachment 184224 [details] [review] Bug 40346: Introduce loginOpac and visitOpac - Cypress To be able to test the OPAC interface we need to add those 2 new commands Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 184225 [details] [review] Bug 40346: Add tests Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 184226 [details] [review] Bug 40346: Use KOHA_INTRANET_URL for the baseUrl This will prevent the test to reload when the URL changes See https://github.com/cypress-io/cypress/issues/2777 Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 184340 [details] [review] Bug 40346: Introduce loginOpac and visitOpac - Cypress To be able to test the OPAC interface we need to add those 2 new commands Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Created attachment 184341 [details] [review] Bug 40346: Add tests Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Created attachment 184342 [details] [review] Bug 40346: Use KOHA_INTRANET_URL for the baseUrl This will prevent the test to reload when the URL changes See https://github.com/cypress-io/cypress/issues/2777 Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Nice work everyone! Pushed to main for 25.11 Nice work everyone! Pushed to 25.05.x |