View | Details | Raw Unified | Return to bug 33066
Collapse All | Expand All

(-)a/t/cypress/integration/Agreements_spec.ts (-2 / +1 lines)
Lines 515-521 describe("Agreement CRUD operations", () => { Link Here
515
            statusCode: 500,
515
            statusCode: 500,
516
            error: "Something went wrong",
516
            error: "Something went wrong",
517
        });
517
        });
518
        cy.contains("Accept").click();
518
        cy.contains("Yes, delete").click();
519
        cy.get("main div[class='dialog alert']").contains(
519
        cy.get("main div[class='dialog alert']").contains(
520
            "Something went wrong: Error: Internal Server Error"
520
            "Something went wrong: Error: Internal Server Error"
521
        );
521
        );
Lines 563-569 describe("Agreement CRUD operations", () => { Link Here
563
        cy.get('#agreements_show .action_links .fa-trash').click();
563
        cy.get('#agreements_show .action_links .fa-trash').click();
564
        cy.get(".dialog.alert.confirmation h1").contains("remove this agreement");
564
        cy.get(".dialog.alert.confirmation h1").contains("remove this agreement");
565
        cy.contains("Yes, delete").click();
565
        cy.contains("Yes, delete").click();
566
        cy.get("main div[class='dialog message']").contains("Agreement").contains("deleted");
567
566
568
        //Make sure we return to list after deleting from show
567
        //Make sure we return to list after deleting from show
569
        cy.get("#agreements_list table tbody tr:first")
568
        cy.get("#agreements_list table tbody tr:first")
(-)a/t/cypress/integration/Licenses_spec.ts (-2 lines)
Lines 309-315 describe("License CRUD operations", () => { Link Here
309
        cy.get('#licenses_show .action_links .fa-trash').click();
309
        cy.get('#licenses_show .action_links .fa-trash').click();
310
        cy.get(".dialog.alert.confirmation h1").contains("remove this license");
310
        cy.get(".dialog.alert.confirmation h1").contains("remove this license");
311
        cy.contains("Yes, delete").click();
311
        cy.contains("Yes, delete").click();
312
        cy.get("main div[class='dialog message']").contains("License").contains("deleted");
313
312
314
        //Make sure we return to list after deleting from show
313
        //Make sure we return to list after deleting from show
315
        cy.get("#licenses_list table tbody tr:first")
314
        cy.get("#licenses_list table tbody tr:first")
316
- 

Return to bug 33066