#1578 Fetching updated configuration before use

This commit is contained in:
Knut Sveidqvist
2020-07-26 08:00:43 +02:00
parent 4e795c81f4
commit 06d80032fe
9 changed files with 53 additions and 29 deletions

View File

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