mirror of
https://github.com/maputnik/editor.git
synced 2026-06-09 08:47:26 +00:00
Fix build
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user