mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 11:07:45 +01:00
34 lines
757 B
JavaScript
34 lines
757 B
JavaScript
var config = require("../config/specs");
|
|
var helper = require("./helper");
|
|
|
|
require("./util/webdriverio-ext");
|
|
|
|
|
|
describe('maputnik', function() {
|
|
|
|
beforeEach(function() {
|
|
browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([
|
|
"geojson:example",
|
|
"raster:raster"
|
|
]));
|
|
browser.execute(function() {
|
|
localStorage.setItem("survey", true);
|
|
});
|
|
browser.waitForExist(".maputnik-toolbar-link");
|
|
browser.flushReactUpdates();
|
|
});
|
|
|
|
// -------- setup --------
|
|
require("./util/coverage");
|
|
// -----------------------
|
|
|
|
// ---- All the tests ----
|
|
require("./history");
|
|
require("./layers");
|
|
require("./map");
|
|
require("./modals");
|
|
require("./screenshots");
|
|
// ------------------------
|
|
|
|
});
|
|
|