From d031fc67f52c43088e511458e0911d4f06dd788d Mon Sep 17 00:00:00 2001 From: HarelM Date: Sun, 31 Dec 2023 09:12:43 +0200 Subject: [PATCH] Fix build --- cypress/e2e/maputnik-driver.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/maputnik-driver.ts b/cypress/e2e/maputnik-driver.ts index 3885aeea..fea862d7 100644 --- a/cypress/e2e/maputnik-driver.ts +++ b/cypress/e2e/maputnik-driver.ts @@ -111,7 +111,7 @@ export default class MaputnikDriver { this.helper.get.elementByTestId("toolbar:link").should("be.visible"); }, - typeKeys: (keys: string, selector?: string) => + typeKeys: (keys: string) => this.helper.get.element("body").type(keys), clickZoomIn: () => { @@ -192,9 +192,9 @@ export default class MaputnikDriver { }, styleStoreEqualToExampleFileData: () => { - cy.window().then((win: any) => { - const obj = this.get.styleFromWindow(win); - const bobj = this.get.maputnikStyleFromLocalStorageObj(); + cy.window().then((_win: any) => { + //const obj = this.get.styleFromWindow(win); + const obj = this.get.maputnikStyleFromLocalStorageObj(); this.helper.given .fixture("example-style.json", "file:example-style.json") .should("deep.equal", obj);