OpenSlides/integration/cypress/integration/client-login.spec.js
Sean 44e9c99eb3 Fix ICC integration
Updates the ICC Service
Changes the ICC port to 9007
Adjust the proxy
Adjust services.env
2021-12-07 17:47:09 +01:00

16 lines
440 B
JavaScript

describe("Login using UI", () => {
it("Login over login-form, set cookie", () => {
const username = "admin"
const password = "admin"
cy.visit("/");
cy.wait(1000)
cy.url().should("include", "login");
cy.get("#mat-input-0").type(username);
cy.get("#mat-input-1").type(`${password}{enter}`);
cy.wait(1000)
cy.url().should("not.include", "login");
cy.getCookie("refreshId").should("exist");
});
});