wisemapping-frontend/packages/web2d/cypress/e2e/rect.cy.js

23 lines
701 B
JavaScript
Raw Normal View History

2023-01-30 05:10:57 +01:00
describe('Rect Suite', () => {
// Rect tests ...
it('Reactangle Fill', () => {
cy.visit('/iframe.html?args=&id=shapes-rectangle--fill&viewMode=story');
cy.matchImageSnapshot('rectangle-fill');
});
it('Reactangle Stroke', () => {
cy.visit('/iframe.html?args=&id=shapes-rectangle--stroke&viewMode=story');
cy.matchImageSnapshot('rectangle-stroke');
});
it('Reactangle Size', () => {
cy.visit('/iframe.html?args=&id=shapes-rectangle--size&viewMode=story');
cy.matchImageSnapshot('rectangle-size');
});
it('Reactangle Arc', () => {
cy.visit('/iframe.html?args=&id=shapes-rectangle--arc&viewMode=story');
cy.matchImageSnapshot('rectangle-arc');
});
});