mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 01:46:37 +02:00
🧪 Add e2e tests with Cypress
This commit is contained in:
parent
16fa6259ea
commit
1cc3819e65
31 changed files with 2869 additions and 10 deletions
21
frontend/cypress/integration/01-auth/login.spec.js
Normal file
21
frontend/cypress/integration/01-auth/login.spec.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* 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("login", () => {
|
||||
beforeEach(() => {
|
||||
cy.visit("http://localhost:3449/#/auth/login");
|
||||
});
|
||||
|
||||
it("displays the login form", () => {
|
||||
cy.get("#email").should("exist");
|
||||
cy.get("#password").should("exist");
|
||||
});
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue