wisemapping-frontend/packages/mindplot/cypress/integration/playground.test.js
Matias Arriola 8ccc4e798e Refactor editor init
Add inline images to editor footer
Move playground to editor
2022-01-24 17:22:39 -03:00

12 lines
398 B
JavaScript

context('Playground', () => {
it('the playground layout page should match its snapshot', () => {
// TODO: check why this error is happening, and remove this handling
cy.on('uncaught:exception', (err) => {
expect(err.message).to.include('Prediction is incorrectly positioned');
return false;
});
cy.visit('/layout.html');
cy.matchImageSnapshot('layout');
});
});