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>
This commit is contained in:
parent
43dc598295
commit
fb1fcea011
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue