chore: fix mapbox references in tests

This commit is contained in:
Kevin Schaul
2023-08-25 16:19:24 -05:00
parent c2abaa9e27
commit 7ba1b56983
4 changed files with 6 additions and 19 deletions

View File

@@ -184,19 +184,6 @@ describe("modals", function() {
assert.equal(styleObj.glyphs, glyphsUrl);
})
it("mapbox access token", async function() {
var apiKey = "testing123";
await browser.setValueSafe(wd.$("modal:settings.maputnik:mapbox_access_token"), apiKey);
const elem = await $(wd.$("modal:settings.name"));
await elem.click();
await browser.flushReactUpdates();
var styleObj = await helper.getStyleStore(browser);
await browser.waitUntil(function() {
return styleObj.metadata["maputnik:mapbox_access_token"] == apiKey;
})
})
it("maptiler access token", async function() {
var apiKey = "testing123";
await browser.setValueSafe(wd.$("modal:settings.maputnik:openmaptiles_access_token"), apiKey);