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

(-)a/t/cypress/integration/ERM/Packages_spec.ts (-3 / +3 lines)
Lines 279-285 describe("Package CRUD operations", () => { Link Here
279
            .contains("Delete")
279
            .contains("Delete")
280
            .click();
280
            .click();
281
        cy.get(".alert-warning.confirmation h1").contains(
281
        cy.get(".alert-warning.confirmation h1").contains(
282
            "remove this package"
282
            "remove this local package"
283
        );
283
        );
284
        cy.contains(erm_package.name);
284
        cy.contains(erm_package.name);
285
285
Lines 301-307 describe("Package CRUD operations", () => { Link Here
301
            .contains("Delete")
301
            .contains("Delete")
302
            .click();
302
            .click();
303
        cy.get(".alert-warning.confirmation h1").contains(
303
        cy.get(".alert-warning.confirmation h1").contains(
304
            "remove this package"
304
            "remove this local package"
305
        );
305
        );
306
        cy.contains("Yes, delete").click();
306
        cy.contains("Yes, delete").click();
307
        cy.get("main div[class='alert alert-info']")
307
        cy.get("main div[class='alert alert-info']")
Lines 340-346 describe("Package CRUD operations", () => { Link Here
340
340
341
        cy.get("#packages_show #toolbar").contains("Delete").click();
341
        cy.get("#packages_show #toolbar").contains("Delete").click();
342
        cy.get(".alert-warning.confirmation h1").contains(
342
        cy.get(".alert-warning.confirmation h1").contains(
343
            "remove this package"
343
            "remove this local package"
344
        );
344
        );
345
        cy.contains("Yes, delete").click();
345
        cy.contains("Yes, delete").click();
346
346
(-)a/t/cypress/integration/ERM/Titles_spec.ts (-4 / +9 lines)
Lines 452-458 describe("Title CRUD operations", () => { Link Here
452
        cy.visit("/cgi-bin/koha/erm/eholdings/local/titles");
452
        cy.visit("/cgi-bin/koha/erm/eholdings/local/titles");
453
453
454
        cy.get("#titles_list table tbody tr:first").contains("Delete").click();
454
        cy.get("#titles_list table tbody tr:first").contains("Delete").click();
455
        cy.get(".alert-warning.confirmation h1").contains("remove this title");
455
        cy.get(".alert-warning.confirmation h1").contains(
456
            "remove this local title"
457
        );
456
        cy.contains(erm_title.publication_title);
458
        cy.contains(erm_title.publication_title);
457
459
458
        // Accept the confirmation dialog, get 500
460
        // Accept the confirmation dialog, get 500
Lines 470-476 describe("Title CRUD operations", () => { Link Here
470
            body: null,
472
            body: null,
471
        });
473
        });
472
        cy.get("#titles_list table tbody tr:first").contains("Delete").click();
474
        cy.get("#titles_list table tbody tr:first").contains("Delete").click();
473
        cy.get(".alert-warning.confirmation h1").contains("remove this title");
475
        cy.get(".alert-warning.confirmation h1").contains(
476
            "remove this local title"
477
        );
474
        cy.contains("Yes, delete").click();
478
        cy.contains("Yes, delete").click();
475
        cy.get("main div[class='alert alert-info']")
479
        cy.get("main div[class='alert alert-info']")
476
            .contains("Local title")
480
            .contains("Local title")
Lines 515-521 describe("Title CRUD operations", () => { Link Here
515
        );
519
        );
516
520
517
        cy.get("#eholdings_title_show #toolbar").contains("Delete").click();
521
        cy.get("#eholdings_title_show #toolbar").contains("Delete").click();
518
        cy.get(".alert-warning.confirmation h1").contains("remove this title");
522
        cy.get(".alert-warning.confirmation h1").contains(
523
            "remove this local title"
524
        );
519
        cy.contains("Yes, delete").click();
525
        cy.contains("Yes, delete").click();
520
526
521
        //Make sure we return to list after deleting from show
527
        //Make sure we return to list after deleting from show
522
- 

Return to bug 37301