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

(-)a/t/cypress/integration/ERM/Agreements_spec.ts (-3 / +3 lines)
Lines 372-378 describe("Agreement CRUD operations", () => { Link Here
372
        });
372
        });
373
        cy.get("#agreements_add").contains("Submit").click();
373
        cy.get("#agreements_add").contains("Submit").click();
374
        cy.get("main div[class='dialog alert']").contains(
374
        cy.get("main div[class='dialog alert']").contains(
375
            "Something went wrong: Error: Internal Server Error"
375
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
376
        );
376
        );
377
377
378
        // Submit the form, success!
378
        // Submit the form, success!
Lines 541-547 describe("Agreement CRUD operations", () => { Link Here
541
        cy.get("main div[class='modal_centered']").contains("Submitting...");
541
        cy.get("main div[class='modal_centered']").contains("Submitting...");
542
        cy.wait(1000);
542
        cy.wait(1000);
543
        cy.get("main div[class='dialog alert']").contains(
543
        cy.get("main div[class='dialog alert']").contains(
544
            "Something went wrong: Error: Internal Server Error"
544
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
545
        );
545
        );
546
546
547
        // Submit the form, success!
547
        // Submit the form, success!
Lines 623-629 describe("Agreement CRUD operations", () => { Link Here
623
        });
623
        });
624
        cy.contains("Yes, delete").click();
624
        cy.contains("Yes, delete").click();
625
        cy.get("main div[class='dialog alert']").contains(
625
        cy.get("main div[class='dialog alert']").contains(
626
            "Something went wrong: Error: Internal Server Error"
626
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
627
        );
627
        );
628
628
629
        // Accept the confirmation dialog, success!
629
        // Accept the confirmation dialog, success!
(-)a/t/cypress/integration/ERM/Licenses_spec.ts (-3 / +3 lines)
Lines 142-148 describe("License CRUD operations", () => { Link Here
142
        });
142
        });
143
        cy.get("#licenses_add").contains("Submit").click();
143
        cy.get("#licenses_add").contains("Submit").click();
144
        cy.get("main div[class='dialog alert']").contains(
144
        cy.get("main div[class='dialog alert']").contains(
145
            "Something went wrong: Error: Internal Server Error"
145
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
146
        );
146
        );
147
147
148
        // Submit the form, success!
148
        // Submit the form, success!
Lines 196-202 describe("License CRUD operations", () => { Link Here
196
        });
196
        });
197
        cy.get("#licenses_add").contains("Submit").click();
197
        cy.get("#licenses_add").contains("Submit").click();
198
        cy.get("main div[class='dialog alert']").contains(
198
        cy.get("main div[class='dialog alert']").contains(
199
            "Something went wrong: Error: Internal Server Error"
199
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
200
        );
200
        );
201
201
202
        // Submit the form, success!
202
        // Submit the form, success!
Lines 266-272 describe("License CRUD operations", () => { Link Here
266
        });
266
        });
267
        cy.contains("Yes, delete").click();
267
        cy.contains("Yes, delete").click();
268
        cy.get("main div[class='dialog alert']").contains(
268
        cy.get("main div[class='dialog alert']").contains(
269
            "Something went wrong: Error: Internal Server Error"
269
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
270
        );
270
        );
271
271
272
        // Accept the confirmation dialog, success!
272
        // Accept the confirmation dialog, success!
(-)a/t/cypress/integration/ERM/Packages_spec.ts (-3 / +3 lines)
Lines 121-127 describe("Package CRUD operations", () => { Link Here
121
        });
121
        });
122
        cy.get("#packages_add").contains("Submit").click();
122
        cy.get("#packages_add").contains("Submit").click();
123
        cy.get("main div[class='dialog alert']").contains(
123
        cy.get("main div[class='dialog alert']").contains(
124
            "Something went wrong: Error: Internal Server Error"
124
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
125
        );
125
        );
126
126
127
        // Submit the form, success!
127
        // Submit the form, success!
Lines 194-200 describe("Package CRUD operations", () => { Link Here
194
        });
194
        });
195
        cy.get("#packages_add").contains("Submit").click();
195
        cy.get("#packages_add").contains("Submit").click();
196
        cy.get("main div[class='dialog alert']").contains(
196
        cy.get("main div[class='dialog alert']").contains(
197
            "Something went wrong: Error: Internal Server Error"
197
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
198
        );
198
        );
199
199
200
        // Submit the form, success!
200
        // Submit the form, success!
Lines 309-315 describe("Package CRUD operations", () => { Link Here
309
        });
309
        });
310
        cy.contains("Yes, delete").click();
310
        cy.contains("Yes, delete").click();
311
        cy.get("main div[class='dialog alert']").contains(
311
        cy.get("main div[class='dialog alert']").contains(
312
            "Something went wrong: Error: Internal Server Error"
312
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
313
        );
313
        );
314
314
315
        // Accept the confirmation dialog, success!
315
        // Accept the confirmation dialog, success!
(-)a/t/cypress/integration/ERM/Titles_spec.ts (-4 / +3 lines)
Lines 198-204 describe("Title CRUD operations", () => { Link Here
198
        });
198
        });
199
        cy.get("#titles_add").contains("Submit").click();
199
        cy.get("#titles_add").contains("Submit").click();
200
        cy.get("main div[class='dialog alert']").contains(
200
        cy.get("main div[class='dialog alert']").contains(
201
            "Something went wrong: Error: Internal Server Error"
201
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
202
        );
202
        );
203
203
204
        // Submit the form, success!
204
        // Submit the form, success!
Lines 356-362 describe("Title CRUD operations", () => { Link Here
356
        });
356
        });
357
        cy.get("#titles_add").contains("Submit").click();
357
        cy.get("#titles_add").contains("Submit").click();
358
        cy.get("main div[class='dialog alert']").contains(
358
        cy.get("main div[class='dialog alert']").contains(
359
            "Something went wrong: Error: Internal Server Error"
359
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
360
        );
360
        );
361
361
362
        // Submit the form, success!
362
        // Submit the form, success!
Lines 464-470 describe("Title CRUD operations", () => { Link Here
464
        });
464
        });
465
        cy.contains("Yes, delete").click();
465
        cy.contains("Yes, delete").click();
466
        cy.get("main div[class='dialog alert']").contains(
466
        cy.get("main div[class='dialog alert']").contains(
467
            "Something went wrong: Error: Internal Server Error"
467
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
468
        );
468
        );
469
469
470
        // Accept the confirmation dialog, success!
470
        // Accept the confirmation dialog, success!
471
- 

Return to bug 34448