convert more tests

This commit is contained in:
shelly_goldblit
2023-12-30 18:48:17 +02:00
parent 0dc3f4bf5d
commit 085eda76a1
5 changed files with 20 additions and 18 deletions
+1 -6
View File
@@ -112,7 +112,7 @@ export default class MaputnikDriver {
typeKeys: (keys: string, selector?: string) =>
this.helper.get.element("body").type(keys),
clickZoomin: () => {
clickZoomIn: () => {
this.helper.get.element(".maplibregl-ctrl-zoom-in").click();
},
@@ -167,11 +167,6 @@ export default class MaputnikDriver {
};
public should = {
canvasBeFocused: () => {
this.when.within("maplibre:map", () => {
this.helper.get.element("canvas").should("be.focused");
});
},
notExist: (selector: string) => {
this.helper.get.element(selector).should("not.exist");
},