@@ -, +, @@ --- t/cypress/integration/Agreements_spec.ts | 5 ++--- t/cypress/integration/Licenses_spec.ts | 1 - t/cypress/integration/Packages_spec.ts | 1 - t/cypress/integration/Titles_spec.ts | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) --- a/t/cypress/integration/Agreements_spec.ts +++ a/t/cypress/integration/Agreements_spec.ts @@ -187,7 +187,7 @@ describe("Agreement CRUD operations", () => { cy.get("#agreements_add").contains("Submit").click(); cy.get("input:invalid,textarea:invalid,select:invalid").should( "have.length", - 3 + 2 ); cy.get("#agreement_name").type(agreement.name); cy.get("#agreement_description").type(agreement.description); @@ -515,7 +515,7 @@ describe("Agreement CRUD operations", () => { statusCode: 500, error: "Something went wrong", }); - cy.contains("Accept").click(); + cy.contains("Yes, delete").click(); cy.get("main div[class='dialog alert']").contains( "Something went wrong: Error: Internal Server Error" ); @@ -563,7 +563,6 @@ describe("Agreement CRUD operations", () => { cy.get('#agreements_show .action_links .fa-trash').click(); cy.get(".dialog.alert.confirmation h1").contains("remove this agreement"); cy.contains("Yes, delete").click(); - cy.get("main div[class='dialog message']").contains("Agreement").contains("deleted"); //Make sure we return to list after deleting from show cy.get("#agreements_list table tbody tr:first") --- a/t/cypress/integration/Licenses_spec.ts +++ a/t/cypress/integration/Licenses_spec.ts @@ -309,7 +309,6 @@ describe("License CRUD operations", () => { cy.get('#licenses_show .action_links .fa-trash').click(); cy.get(".dialog.alert.confirmation h1").contains("remove this license"); cy.contains("Yes, delete").click(); - cy.get("main div[class='dialog message']").contains("License").contains("deleted"); //Make sure we return to list after deleting from show cy.get("#licenses_list table tbody tr:first") --- a/t/cypress/integration/Packages_spec.ts +++ a/t/cypress/integration/Packages_spec.ts @@ -353,7 +353,6 @@ describe("Package CRUD operations", () => { cy.get('#packages_show .action_links .fa-trash').click(); cy.get(".dialog.alert.confirmation h1").contains("remove this package"); cy.contains("Yes, delete").click(); - cy.get("main div[class='dialog message']").contains("Local package").contains("deleted"); //Make sure we return to list after deleting from show cy.get("#packages_list table tbody tr:first") --- a/t/cypress/integration/Titles_spec.ts +++ a/t/cypress/integration/Titles_spec.ts @@ -498,7 +498,6 @@ describe("Title CRUD operations", () => { cy.get('#eholdings_title_show .action_links .fa-trash').click(); cy.get(".dialog.alert.confirmation h1").contains("remove this title"); cy.contains("Yes, delete").click(); - cy.get("main div[class='dialog message']").contains("Local title").contains("deleted"); //Make sure we return to list after deleting from show cy.get("#titles_list table tbody tr:first") --