mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-16 03:57:55 +01:00
eaf1b3d910
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
17 lines
342 B
TypeScript
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();
|
|
});
|
|
});
|