Files
Chamilo/plugin/h5p/cache-h5p/cypress/integration/multiple.spec.js
2025-04-10 12:36:07 +02:00

14 lines
381 B
JavaScript

describe('multiple', () => {
it('should display 2 h5ps', () => {
cy.visit('test/multiple.html');
cy.get('#h5p-container-1 .h5p-iframe').should(iframe => {
expect(iframe.contents().find('.h5p-content')).to.exist;
});
cy.get('#h5p-container-2 .h5p-iframe').should(iframe => {
expect(iframe.contents().find('.h5p-content')).to.exist;
});
});
});