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! |