mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 05:56:38 +02:00
👷 e2e tests for dashboard
Including test for signing/singup, projects, files, teams, and misc
This commit is contained in:
parent
26e5d57ced
commit
5103624fe0
32 changed files with 1285 additions and 127 deletions
|
@ -23,6 +23,17 @@ describe("account creation", () => {
|
|||
cy.getBySel("register-form-submit").should("exist");
|
||||
});
|
||||
|
||||
it("create an account", () => {
|
||||
let email = "mail" + Date.now() +"@mail.com";
|
||||
cy.get("#email").type(email);
|
||||
cy.get("#password").type("anewpassword");
|
||||
cy.get("input[type=submit]").click();
|
||||
cy.getBySel("register-title").should("exist");
|
||||
cy.get("#fullname").type("Test user")
|
||||
cy.get("input[type=submit]").click();
|
||||
cy.get(".dashboard-layout").should("exist");
|
||||
});
|
||||
|
||||
it("create an account of an existent email fails", () => {
|
||||
cy.get("#email").type(validUser.email);
|
||||
cy.get("#password").type("anewpassword");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue