mirror of
https://github.com/penpot/penpot.git
synced 2025-07-02 18:07:16 +02:00
👷 Create firsts e2e tests
This commit is contained in:
parent
36bb5cbe01
commit
6a6f079a84
14 changed files with 21759 additions and 928 deletions
22
frontend/cypress/integration/01-auth/demo-account.specs.js
Normal file
22
frontend/cypress/integration/01-auth/demo-account.specs.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* Copyright (c) UXBOX Labs SL
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
|
||||
describe("demo account", () => {
|
||||
beforeEach(() => {
|
||||
cy.visit("http://localhost:3449/#/auth/login");
|
||||
});
|
||||
|
||||
it.only("create demo account", () => {
|
||||
cy.get("a").contains("Create demo account").click()
|
||||
cy.get(".profile").contains("Demo User")
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue