diff --git a/cypress/integration/advance-options.spec.js b/cypress/integration/advance-options.spec.js index 57df0330..a37176ce 100644 --- a/cypress/integration/advance-options.spec.js +++ b/cypress/integration/advance-options.spec.js @@ -4,7 +4,7 @@ describe("H5P player with advance options", () => { }); it("should display h5p", () => { - cy.iframe("iframe.h5p-iframe.h5p-iframe.h5p-initialized") + cy.iframe("iframe.h5p-iframe.h5p-initialized") .should("be.visible") .within(() => { cy.get(".h5p-true-false-answers .h5p-true-false-answer") @@ -17,7 +17,7 @@ describe("H5P player with advance options", () => { }); it("should display export dialog", () => { - cy.iframe("iframe.h5p-iframe.h5p-iframe.h5p-initialized").within(() => { + cy.iframe("iframe.h5p-iframe.h5p-initialized").within(() => { cy.get(".h5p-actions").find(".h5p-export").should("be.visible").click(); cy.get(".h5p-download-button").should("be.visible"); @@ -25,7 +25,7 @@ describe("H5P player with advance options", () => { }); it("should display embed code dialog", () => { - cy.iframe("iframe.h5p-iframe.h5p-iframe.h5p-initialized").within(() => { + cy.iframe("iframe.h5p-iframe.h5p-initialized").within(() => { cy.get(".h5p-actions").find(".h5p-embed").should("be.visible").click(); cy.get(".h5p-embed-code-container").should("be.visible"); diff --git a/cypress/integration/external_libraries.spec.js b/cypress/integration/external_libraries.spec.js index be75953b..aab504aa 100644 --- a/cypress/integration/external_libraries.spec.js +++ b/cypress/integration/external_libraries.spec.js @@ -4,7 +4,7 @@ describe("H5P player loading external libraries", () => { }); it("should display h5p", () => { - cy.iframe("iframe.h5p-iframe.h5p-iframe.h5p-initialized") + cy.iframe("iframe.h5p-iframe.h5p-initialized") .should("be.visible") .within(() => { cy.get(".h5p-true-false-answers .h5p-true-false-answer") diff --git a/cypress/integration/multiple.spec.js b/cypress/integration/multiple.spec.js index 690f2ef2..31ca6d96 100644 --- a/cypress/integration/multiple.spec.js +++ b/cypress/integration/multiple.spec.js @@ -4,7 +4,7 @@ describe("Multiple H5P players", () => { }); it("should display & load multiple h5p players", () => { - cy.iframe("#h5p-container-1 iframe.h5p-iframe.h5p-iframe.h5p-initialized") + cy.iframe("#h5p-container-1 iframe.h5p-iframe.h5p-initialized") .should("be.visible") .within(() => { cy.get(".h5p-true-false-answers .h5p-true-false-answer") @@ -15,7 +15,7 @@ describe("Multiple H5P players", () => { cy.get(".h5p-joubelui-score-bar-star").should("be.visible"); }); - cy.iframe("#h5p-container-2 iframe.h5p-iframe.h5p-iframe.h5p-initialized") + cy.iframe("#h5p-container-2 iframe.h5p-iframe.h5p-initialized") .should("be.visible") .within(() => { cy.get(".h5p-true-false-answers .h5p-true-false-answer") diff --git a/cypress/integration/single.spec.js b/cypress/integration/single.spec.js index 6c494c7f..4066cf1b 100644 --- a/cypress/integration/single.spec.js +++ b/cypress/integration/single.spec.js @@ -4,7 +4,7 @@ describe("Single H5P player", () => { }); it("should display h5p", () => { - cy.iframe("iframe.h5p-iframe.h5p-iframe.h5p-initialized") + cy.iframe("iframe.h5p-iframe.h5p-initialized") .should("be.visible") .within(() => { cy.get(".h5p-true-false-answers .h5p-true-false-answer")