22 lines
487 B
TypeScript
Raw Normal View History

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