👷 Create firsts e2e tests

This commit is contained in:
Pablo Alba 2022-01-19 17:10:53 +01:00 committed by Andrés Moya
parent 36bb5cbe01
commit 6a6f079a84
14 changed files with 21759 additions and 928 deletions

View file

@ -0,0 +1,25 @@
/**
* 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("projects", () => {
beforeEach(() => {
cy.fixture('validuser.json').then((user) => {
cy.login(user.email, user.password)
});
});
it("displays the projects page", () => {
cy.get(".dashboard-title").should("contain", "Projects");
});
});