From fa23471a636fbaa88d03fc1d416d68326901696e Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Mon, 27 Jan 2025 14:35:33 +0100 Subject: [PATCH] remove comments --- cypress/e2e/modals.cy.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cypress/e2e/modals.cy.ts b/cypress/e2e/modals.cy.ts index 8920c172..876e49b1 100644 --- a/cypress/e2e/modals.cy.ts +++ b/cypress/e2e/modals.cy.ts @@ -228,32 +228,22 @@ describe("modals", () => { when.click("modal:settings.close-modal") when.click("nav:open"); - - // when.click("aria-label="MapTiler Basic" - cy.get('[aria-label="MapTiler Basic"]').should('exist').click(); - when.click("nav:settings"); - - // cy.on("uncaught:exception", () => false); // this is due to the fact that this is an invalid style for openlayers when.select("modal:settings.maputnik:renderer", "mlgljs"); then(get.inputValue("modal:settings.maputnik:renderer")).shouldEqual( "mlgljs" ); - // cy.on("uncaught:exception", () => false); when.select("modal:settings.maputnik:renderer", "ol"); then(get.inputValue("modal:settings.maputnik:renderer")).shouldEqual( "ol" ); cy.intercept("GET", "https://api.maptiler.com/tiles/v3-openmaptiles/tiles.json?key=*").as("tileRequest"); - // then(get.waitForRequest("@tileRequest")).shouldHaveStatus(403); - - // cy.on("uncaught:exception", () => false); when.select("modal:settings.maputnik:renderer", "mlgljs"); then(get.inputValue("modal:settings.maputnik:renderer")).shouldEqual( "mlgljs"