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

(-)a/t/cypress/integration/ERM/Agreements_spec.ts (-3 / +3 lines)
Lines 367-373 describe("Agreement CRUD operations", () => { Link Here
367
        });
367
        });
368
        cy.get("#agreements_add").contains("Submit").click();
368
        cy.get("#agreements_add").contains("Submit").click();
369
        cy.get("main div[class='dialog alert']").contains(
369
        cy.get("main div[class='dialog alert']").contains(
370
            "Something went wrong: Error: Internal Server Error"
370
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
371
        );
371
        );
372
372
373
        // Submit the form, success!
373
        // Submit the form, success!
Lines 536-542 describe("Agreement CRUD operations", () => { Link Here
536
        cy.get("main div[class='modal_centered']").contains("Submitting...");
536
        cy.get("main div[class='modal_centered']").contains("Submitting...");
537
        cy.wait(1000);
537
        cy.wait(1000);
538
        cy.get("main div[class='dialog alert']").contains(
538
        cy.get("main div[class='dialog alert']").contains(
539
            "Something went wrong: Error: Internal Server Error"
539
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
540
        );
540
        );
541
541
542
        // Submit the form, success!
542
        // Submit the form, success!
Lines 618-624 describe("Agreement CRUD operations", () => { Link Here
618
        });
618
        });
619
        cy.contains("Yes, delete").click();
619
        cy.contains("Yes, delete").click();
620
        cy.get("main div[class='dialog alert']").contains(
620
        cy.get("main div[class='dialog alert']").contains(
621
            "Something went wrong: Error: Internal Server Error"
621
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
622
        );
622
        );
623
623
624
        // Accept the confirmation dialog, success!
624
        // Accept the confirmation dialog, success!
(-)a/t/cypress/integration/ERM/Licenses_spec.ts (-3 / +3 lines)
Lines 137-143 describe("License CRUD operations", () => { Link Here
137
        });
137
        });
138
        cy.get("#licenses_add").contains("Submit").click();
138
        cy.get("#licenses_add").contains("Submit").click();
139
        cy.get("main div[class='dialog alert']").contains(
139
        cy.get("main div[class='dialog alert']").contains(
140
            "Something went wrong: Error: Internal Server Error"
140
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
141
        );
141
        );
142
142
143
        // Submit the form, success!
143
        // Submit the form, success!
Lines 191-197 describe("License CRUD operations", () => { Link Here
191
        });
191
        });
192
        cy.get("#licenses_add").contains("Submit").click();
192
        cy.get("#licenses_add").contains("Submit").click();
193
        cy.get("main div[class='dialog alert']").contains(
193
        cy.get("main div[class='dialog alert']").contains(
194
            "Something went wrong: Error: Internal Server Error"
194
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
195
        );
195
        );
196
196
197
        // Submit the form, success!
197
        // Submit the form, success!
Lines 261-267 describe("License CRUD operations", () => { Link Here
261
        });
261
        });
262
        cy.contains("Yes, delete").click();
262
        cy.contains("Yes, delete").click();
263
        cy.get("main div[class='dialog alert']").contains(
263
        cy.get("main div[class='dialog alert']").contains(
264
            "Something went wrong: Error: Internal Server Error"
264
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
265
        );
265
        );
266
266
267
        // Accept the confirmation dialog, success!
267
        // Accept the confirmation dialog, success!
(-)a/t/cypress/integration/ERM/Packages_spec.ts (-3 / +3 lines)
Lines 116-122 describe("Package CRUD operations", () => { Link Here
116
        });
116
        });
117
        cy.get("#packages_add").contains("Submit").click();
117
        cy.get("#packages_add").contains("Submit").click();
118
        cy.get("main div[class='dialog alert']").contains(
118
        cy.get("main div[class='dialog alert']").contains(
119
            "Something went wrong: Error: Internal Server Error"
119
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
120
        );
120
        );
121
121
122
        // Submit the form, success!
122
        // Submit the form, success!
Lines 189-195 describe("Package CRUD operations", () => { Link Here
189
        });
189
        });
190
        cy.get("#packages_add").contains("Submit").click();
190
        cy.get("#packages_add").contains("Submit").click();
191
        cy.get("main div[class='dialog alert']").contains(
191
        cy.get("main div[class='dialog alert']").contains(
192
            "Something went wrong: Error: Internal Server Error"
192
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
193
        );
193
        );
194
194
195
        // Submit the form, success!
195
        // Submit the form, success!
Lines 304-310 describe("Package CRUD operations", () => { Link Here
304
        });
304
        });
305
        cy.contains("Yes, delete").click();
305
        cy.contains("Yes, delete").click();
306
        cy.get("main div[class='dialog alert']").contains(
306
        cy.get("main div[class='dialog alert']").contains(
307
            "Something went wrong: Error: Internal Server Error"
307
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
308
        );
308
        );
309
309
310
        // Accept the confirmation dialog, success!
310
        // Accept the confirmation dialog, success!
(-)a/t/cypress/integration/ERM/Titles_spec.ts (-4 / +3 lines)
Lines 193-199 describe("Title CRUD operations", () => { Link Here
193
        });
193
        });
194
        cy.get("#titles_add").contains("Submit").click();
194
        cy.get("#titles_add").contains("Submit").click();
195
        cy.get("main div[class='dialog alert']").contains(
195
        cy.get("main div[class='dialog alert']").contains(
196
            "Something went wrong: Error: Internal Server Error"
196
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
197
        );
197
        );
198
198
199
        // Submit the form, success!
199
        // Submit the form, success!
Lines 351-357 describe("Title CRUD operations", () => { Link Here
351
        });
351
        });
352
        cy.get("#titles_add").contains("Submit").click();
352
        cy.get("#titles_add").contains("Submit").click();
353
        cy.get("main div[class='dialog alert']").contains(
353
        cy.get("main div[class='dialog alert']").contains(
354
            "Something went wrong: Error: Internal Server Error"
354
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
355
        );
355
        );
356
356
357
        // Submit the form, success!
357
        // Submit the form, success!
Lines 459-465 describe("Title CRUD operations", () => { Link Here
459
        });
459
        });
460
        cy.contains("Yes, delete").click();
460
        cy.contains("Yes, delete").click();
461
        cy.get("main div[class='dialog alert']").contains(
461
        cy.get("main div[class='dialog alert']").contains(
462
            "Something went wrong: Error: Internal Server Error"
462
            "Something went wrong: SyntaxError: Unexpected end of JSON input"
463
        );
463
        );
464
464
465
        // Accept the confirmation dialog, success!
465
        // Accept the confirmation dialog, success!
466
- 

Return to bug 34448