Fix build

This commit is contained in:
HarelM
2023-12-31 09:12:43 +02:00
parent 7de266ca43
commit d031fc67f5
+4 -4
View File
@@ -111,7 +111,7 @@ export default class MaputnikDriver {
this.helper.get.elementByTestId("toolbar:link").should("be.visible"); this.helper.get.elementByTestId("toolbar:link").should("be.visible");
}, },
typeKeys: (keys: string, selector?: string) => typeKeys: (keys: string) =>
this.helper.get.element("body").type(keys), this.helper.get.element("body").type(keys),
clickZoomIn: () => { clickZoomIn: () => {
@@ -192,9 +192,9 @@ export default class MaputnikDriver {
}, },
styleStoreEqualToExampleFileData: () => { styleStoreEqualToExampleFileData: () => {
cy.window().then((win: any) => { cy.window().then((_win: any) => {
const obj = this.get.styleFromWindow(win); //const obj = this.get.styleFromWindow(win);
const bobj = this.get.maputnikStyleFromLocalStorageObj(); const obj = this.get.maputnikStyleFromLocalStorageObj();
this.helper.given this.helper.given
.fixture("example-style.json", "file:example-style.json") .fixture("example-style.json", "file:example-style.json")
.should("deep.equal", obj); .should("deep.equal", obj);