#1657Fix for broken test

This commit is contained in:
Knut Sveidqvist
2020-09-20 12:31:39 +02:00
parent c9ff70b3cc
commit f856782528
7 changed files with 849 additions and 175 deletions

View File

@@ -11,12 +11,12 @@ describe('Rerendering', () => {
const url = 'http://localhost:9000/rerender.html';
cy.viewport(1440, 1024);
cy.visit(url);
cy.get('#graph #A').should('have.text', 'XMas');
cy.get('#graph [id^=flowchart-A]').should('have.text', 'XMas');
cy.get('body')
.find('#rerender')
.click({ force: true });
cy.get('#graph #A').should('have.text', 'Saturday');
cy.get('#graph [id^=flowchart-A]').should('have.text', 'Saturday');
});
});