Merge of cherry pick

This commit is contained in:
Knut Sveidqvist
2020-07-26 08:03:56 +02:00
parent d12b197ec9
commit 62acc18e7d
9 changed files with 87 additions and 13 deletions

View File

@@ -8,4 +8,14 @@ describe('Sequencediagram', () => {
.find('svg')
.should('have.length', 2);
});
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('.label > g > foreignobject > div').should('not.contain.text', '<b>');
});
});