mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
b804403c42
Improve testing flow and docs * update snapshots * update snapshots * update snapshots * Add docker run instructions * Hide image snapshot execution behind an env flag * Simplify package.json scripts and improve docs * Merge 'origin/develop' into feature/tests-and-docs * Update snapshots * Add wait to container test * Update snapshot Approved-by: Paulo Veiga
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');
|
|
});
|
|
});
|