mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🧪 Add e2e tests with Cypress
This commit is contained in:
committed by
Andrey Antukh
parent
16fa6259ea
commit
1cc3819e65
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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user