85c0e50c21
Test client integration (client loads) Test auth integration (client logs in) Test backend integration (accept request) - broken Test autoupdate integration (sends au to client) Add manual cypress tests Add dockered cypress tests Add Readme Add test execution to makefile Add test execution to github-actions TODO: - Create user for tests - flush db after every test
28 lines
681 B
JavaScript
28 lines
681 B
JavaScript
/**
|
|
* Some bugs
|
|
*/
|
|
// describe("Create a new committee", () => {
|
|
// beforeEach(() => {
|
|
// cy.login();
|
|
// cy.visit("/committees");
|
|
// });
|
|
|
|
// it("Creates a committee", () => {
|
|
// cy.visit("/committees/create");
|
|
// const committeeName = `Cypress Committee ${Date.now().toString()}`;
|
|
// cy.get("#mat-input-0").type(committeeName);
|
|
|
|
// cy.intercept({
|
|
// method: "POST",
|
|
// url: "/system/action/handle_request",
|
|
// }).as("handle_request");
|
|
|
|
// cy.get("form").submit();
|
|
// cy.wait("@handle_request");
|
|
|
|
// cy.url().should("not.include", "create");
|
|
// // only on clean db
|
|
// //cy.contains(committeeName);
|
|
// });
|
|
// });
|