mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +01:00
12 lines
398 B
JavaScript
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');
|
|
});
|
|
});
|