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