diff --git a/cypress/integration/actions.spec.js b/cypress/integration/actions.spec.js index 40dee9cad..70c3b3d15 100644 --- a/cypress/integration/actions.spec.js +++ b/cypress/integration/actions.spec.js @@ -1,7 +1,7 @@ describe("Testing basic actions in the ui", () => { it("Successfully opens page", () => { cy.visit("/") - cy.get(".connection > p").should("contain", "Connected") + cy.get("header > .logo").should("be.visible") cy.get(".metrics-container").should("be.visible") }) diff --git a/cypress/integration/rendering.spec.js b/cypress/integration/rendering.spec.js index 5bc170d24..4d1f3a311 100644 --- a/cypress/integration/rendering.spec.js +++ b/cypress/integration/rendering.spec.js @@ -28,7 +28,13 @@ const deviceResolutions = { quarter(1086, 772), sixth(1086, 772) ], - raymarine: [[800, 480], [1280, 720], [1280, 800], [1920, 1080], [1920, 1200]], + raymarine: [ + [800, 480], + [1280, 720], + [1280, 800], + [1920, 1080], + [1920, 1200] + ], garmin: [ [1280, 723], halfHorizontalSplit(1280, 723), @@ -53,7 +59,7 @@ for (let [device, resolutions] of Object.entries(deviceResolutions)) { it("Successfully opens page", () => { cy.visit("/") - cy.get(".connection > p").should("contain", "Connected") + cy.get("header > .logo").should("be.visible") cy.get(".metrics-container").should("be.visible") }) diff --git a/cypress/integration/values.spec.js b/cypress/integration/values.spec.js index 8818aaffe..5b1efc7e4 100644 --- a/cypress/integration/values.spec.js +++ b/cypress/integration/values.spec.js @@ -5,7 +5,7 @@ describe("Testing basic values rendering in the ui", () => { it("Successfully opens page", () => { cy.visit("/") - cy.get(".connection > p").should("contain", "Connected") + cy.get("header > .logo").should("be.visible") cy.get(".metrics-container").should("be.visible") })