🧪 Add e2e tests with Cypress

This commit is contained in:
Andrés Moya 2021-12-01 13:38:09 +01:00 committed by Andrey Antukh
parent 16fa6259ea
commit 1cc3819e65
31 changed files with 2869 additions and 10 deletions

View 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");
});
});