2018-01-10 14:19:34 +01:00
|
|
|
var assert = require('assert');
|
|
|
|
var config = require("../config/specs");
|
|
|
|
var geoServer = require("../geojson-server");
|
|
|
|
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.waitForExist(".maputnik-toolbar-link");
|
|
|
|
browser.flushReactUpdates();
|
|
|
|
});
|
|
|
|
|
|
|
|
// -------- setup --------
|
|
|
|
require("./util/coverage");
|
|
|
|
// -----------------------
|
|
|
|
|
|
|
|
// ---- All the tests ----
|
|
|
|
require("./history");
|
|
|
|
require("./layers");
|
|
|
|
require("./map");
|
|
|
|
require("./modals");
|
2018-01-17 16:39:17 +01:00
|
|
|
require("./screenshots");
|
2018-01-10 14:19:34 +01:00
|
|
|
// ------------------------
|
|
|
|
|
|
|
|
});
|
|
|
|
|