So far we cannot test the OPAC interface.
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