Merge pull request #1479 from chewnoill/chewy/cleanup-after-failed-render

cleanup helper dom elements before rendering
This commit is contained in:
Knut Sveidqvist
2020-06-19 11:29:46 +02:00
committed by GitHub
3 changed files with 39 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
/* eslint-env jest */
describe('Rerendering', () => {
it('should be able to render after an error has occured', () => {
const url = 'http://localhost:9000/render-after-error.html';
cy.viewport(1440, 1024);
cy.visit(url);
cy.get('#graphDiv').should('exist');
});
it('should be able to render and rerender a graph via API', () => {
const url = 'http://localhost:9000/rerender.html';