Koha-clms/t/cypress
Jonathan Druart c0e27917b6
Bug 40046: Use xml and auto-select it
Absolutely no idea why the previous code was not selecting MARCXML (MARC
was passed and so the import failed)

        cy.get('select[name="format"]')
            .select("MARCXML", { force: true })
            .should("have.value", "MARCXML");

But I found a bug in the JS code: we are supposed to auto-detect .xml
file and pre-select MARCXML. So let's rely on that behaviour!

sample.mrc is actually an xml file so it makes sense to rename it

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0802e46e18)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit 3c7ddb4070)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-10-06 16:22:59 +02:00
..
fixtures Bug 40046: Use xml and auto-select it 2025-10-06 16:22:59 +02:00
integration Bug 40046: Use xml and auto-select it 2025-10-06 16:22:59 +02:00
plugins Revert "Bug 38770: Remove @vue/cli-service and babel" 2025-08-06 15:07:36 +00:00
support Bug 39315: Move holdings Cypress tests to a separate file 2025-07-31 16:43:00 +02:00