Bug 41368: Fix View batch click

To test:
1. APPLY PATCH
2. yarn build
3. cypress run --spec t/cypress/integration/Tools/ManageMarcImport_spec.ts
4. It should now pass

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b190813020)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
This commit is contained in:
Lucas Gass 2025-12-03 20:37:57 +00:00 committed by Wainui Witika-Park
parent c9e3ae8f57
commit 9168283582
No known key found for this signature in database
GPG Key ID: 2D0A6AB5DAF1B78D
1 changed files with 2 additions and 2 deletions

View File

@ -54,10 +54,10 @@ describe("loads the manage MARC import page", () => {
cy.get('select[name="format"]').should("have.value", "MARCXML");
//select some new options
cy.get("#matcher").select("3", { force: true });
cy.get("#matcher")
.select("3", { force: true })
.should("have.value", "3");
cy.get("#overlay_action")
.select("create_new", { force: true })
.should("have.value", "create_new");
@ -72,7 +72,7 @@ describe("loads the manage MARC import page", () => {
cy.get("#job_callback").should("exist");
cy.contains("View batch").click();
cy.get("#job_callback").contains("View batch").click();
// Now verify all values are retained
cy.get("#new_matcher_id").should("have.value", "3");