Activate renderer test

This commit is contained in:
pathmapper 2018-10-30 20:06:52 +01:00
parent 3d2a1d5d19
commit c59e0cb046

View file

@ -171,14 +171,14 @@ describe("modals", function() {
assert.equal(styleObj.metadata["maputnik:openmaptiles_access_token"], apiKey); assert.equal(styleObj.metadata["maputnik:openmaptiles_access_token"], apiKey);
}) })
it.skip("style renderer", function() { it("style renderer", function() {
var selector = wd.$("modal-settings.maputnik:renderer"); var selector = wd.$("modal-settings.maputnik:renderer");
browser.selectByValue(selector, "ol3"); browser.selectByValue(selector, "ol");
browser.click(wd.$("modal-settings.name")) browser.click(wd.$("modal-settings.name"))
browser.flushReactUpdates(); browser.flushReactUpdates();
var styleObj = helper.getStyleStore(browser); var styleObj = helper.getStyleStore(browser);
assert.equal(styleObj.metadata["maputnik:renderer"], "ol3"); assert.equal(styleObj.metadata["maputnik:renderer"], "ol");
}) })
}) })