Reverting to cypress 9.7 in order to get applitools back in the game

This commit is contained in:
Knut Sveidqvist
2022-07-20 11:32:21 +02:00
parent ce1507c296
commit dee9cfea85
29 changed files with 59 additions and 20 deletions

View File

@@ -0,0 +1,16 @@
describe('Sequencediagram', () => {
it('should render a simple sequence diagrams', () => {
const url = 'http://localhost:9000/webpackUsage.html';
cy.visit(url);
cy.get('body').find('svg').should('have.length', 1);
});
it('should handle html escapings properly', () => {
const url = 'http://localhost:9000/webpackUsage.html?test-html-escaping=true';
cy.visit(url);
cy.get('body').find('svg').should('have.length', 1);
cy.get('g.label > foreignobject > div').should('not.contain.text', '<b>');
});
});