diff --git a/t/cypress/integration/Tools/ManageMarcImport_spec.ts b/t/cypress/integration/Tools/ManageMarcImport_spec.ts index c8d0fbe56e..13f27698fd 100644 --- a/t/cypress/integration/Tools/ManageMarcImport_spec.ts +++ b/t/cypress/integration/Tools/ManageMarcImport_spec.ts @@ -70,9 +70,9 @@ describe("loads the manage MARC import page", () => { cy.get("#mainformsubmit").click(); - cy.get("#job_callback", { timeout: 60000 }) - .contains("View batch") - .click(); + cy.get("#job_callback").should("exist"); + + cy.contains("View batch").click(); // Now verify all values are retained cy.get("#new_matcher_id").should("have.value", "3");