Adding integration test

This commit is contained in:
Knut Sveidqvist
2021-12-07 22:54:28 +01:00
parent f69f770043
commit 89ce930de2
2 changed files with 6 additions and 1 deletions

View File

@@ -105,4 +105,9 @@ describe('XSS', () => {
cy.wait(1000);
cy.get('#the-malware').should('not.exist');
});
it('should not allow maniplulating antiscript to run javascript iframes in class diagrams', () => {
cy.visit('http://localhost:9000/xss14.html');
cy.wait(1000);
cy.get('#the-malware').should('not.exist');
});
});