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

(-)a/t/cypress/integration/ERM/Packages_spec.ts (-3 / +3 lines)
Lines 300-306 describe("Package CRUD operations", () => { Link Here
300
            .contains("Delete")
300
            .contains("Delete")
301
            .click();
301
            .click();
302
        cy.get(".alert-warning.confirmation h1").contains(
302
        cy.get(".alert-warning.confirmation h1").contains(
303
            "remove this package"
303
            "remove this local package"
304
        );
304
        );
305
        cy.contains(erm_package.name);
305
        cy.contains(erm_package.name);
306
306
Lines 322-328 describe("Package CRUD operations", () => { Link Here
322
            .contains("Delete")
322
            .contains("Delete")
323
            .click();
323
            .click();
324
        cy.get(".alert-warning.confirmation h1").contains(
324
        cy.get(".alert-warning.confirmation h1").contains(
325
            "remove this package"
325
            "remove this local package"
326
        );
326
        );
327
        cy.contains("Yes, delete").click();
327
        cy.contains("Yes, delete").click();
328
        cy.get("main div[class='alert alert-info']")
328
        cy.get("main div[class='alert alert-info']")
Lines 361-367 describe("Package CRUD operations", () => { Link Here
361
361
362
        cy.get("#packages_show #toolbar").contains("Delete").click();
362
        cy.get("#packages_show #toolbar").contains("Delete").click();
363
        cy.get(".alert-warning.confirmation h1").contains(
363
        cy.get(".alert-warning.confirmation h1").contains(
364
            "remove this package"
364
            "remove this local package"
365
        );
365
        );
366
        cy.contains("Yes, delete").click();
366
        cy.contains("Yes, delete").click();
367
367
(-)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