wisemapping-frontend/packages/webapp/cypress/e2e/maps.cy.ts
2022-10-30 23:22:13 -07:00

22 lines
447 B
TypeScript

import MapsPage from '../pageObject/MapsPage';
context('Maps Page', () => {
beforeEach(() => {
cy.visit('/c/maps');
});
it('should load the maps page', () => {
MapsPage.isLoaded();
});
it('should open the create dialog', () => {
MapsPage.create();
MapsPage.isCreateDialogVisible();
cy.matchImageSnapshot('maps-create');
});
it('should match the snapshot', () => {
cy.matchImageSnapshot('maps');
});
});