wisemapping-frontend/packages/webapp/cypress/integration/maps.test.ts
Juan Allo eaf1b3d910 Merged in feat/cypress (pull request #1)
Adding cypress integration into the webapp

* Merge branch 'master' into feat/cypress

* moving the config files to ts

* updating from master

* adding pipeline config

* updating the cypress base image to use the same node version

* moving node to 14.15.4

* unifying all the tasks into one step

* using cypress base image for the whole pipeline for now

* removing cypress examples

* adding readme for tests

Approved-by: Ezequiel Bergamaschi
2021-02-23 05:40:02 +00:00

17 lines
342 B
TypeScript

import MapsPage from "../pageObject/MapsPage";
context("Maps Page", () => {
beforeEach(() => {
cy.visit("http://localhost:3000/c/maps");
});
it("should load the maps page", () => {
MapsPage.isLoaded();
});
it("should open the create dialog", () => {
MapsPage.create();
MapsPage.isCreateDialogVisible();
});
});