From a9a69130b9afdd2435eac66a5406ca3227b2fdcd Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Mon, 27 Jan 2025 14:50:23 +0100 Subject: [PATCH] use driver --- cypress/e2e/modals.cy.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/modals.cy.ts b/cypress/e2e/modals.cy.ts index e609c932..17a5eab6 100644 --- a/cypress/e2e/modals.cy.ts +++ b/cypress/e2e/modals.cy.ts @@ -239,14 +239,12 @@ describe("modals", () => { - it("inlcude API key when change renderer", () => { - - + it.only("inlcude API key when change renderer", () => { when.click("modal:settings.close-modal") when.click("nav:open"); - cy.get('[aria-label="MapTiler Basic"]').should('exist').click(); + get.elementByAttribute('aria-label', "MapTiler Basic").should('exist').click(); when.click("nav:settings");