mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-23 07:07:56 +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
53 lines
1.3 KiB
JavaScript
53 lines
1.3 KiB
JavaScript
context('Playground', () => {
|
|
describe('snapshots', () => {
|
|
it('Arrow', () => {
|
|
cy.visit('/arrow.html');
|
|
cy.matchImageSnapshot('Arrow');
|
|
});
|
|
it('Curved Line', () => {
|
|
cy.visit('/curvedLine.html');
|
|
cy.matchImageSnapshot('Curved Line');
|
|
});
|
|
it('Events', () => {
|
|
cy.visit('/events.html');
|
|
cy.matchImageSnapshot('Events');
|
|
});
|
|
it('Font', () => {
|
|
cy.visit('/font.html');
|
|
cy.matchImageSnapshot('Font');
|
|
});
|
|
it('Group', () => {
|
|
cy.visit('/group.html');
|
|
cy.matchImageSnapshot('Group');
|
|
});
|
|
it('Line', () => {
|
|
cy.visit('/line.html');
|
|
cy.matchImageSnapshot('Line');
|
|
});
|
|
it('Poly Line', () => {
|
|
cy.visit('/polyLine.html');
|
|
cy.matchImageSnapshot('Poly Line');
|
|
});
|
|
it('Prototype', () => {
|
|
cy.visit('/prototype.html');
|
|
cy.matchImageSnapshot('Prototype');
|
|
});
|
|
it('Rect', () => {
|
|
cy.visit('/rect.html');
|
|
cy.matchImageSnapshot('Rect');
|
|
});
|
|
it('Shapes', () => {
|
|
cy.visit('/shapes.html');
|
|
cy.matchImageSnapshot('Shapes');
|
|
});
|
|
it('Text', () => {
|
|
cy.visit('/text.html');
|
|
cy.matchImageSnapshot('Text');
|
|
});
|
|
it('Workspace', () => {
|
|
cy.visit('/workspace.html');
|
|
cy.matchImageSnapshot('Workspace');
|
|
});
|
|
});
|
|
});
|