<commit_before>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();
  });
<commit_msg>Disable survey in test runner, which was making the tests fail.<commit_after>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.execute(function() {
      localStorage.setItem("survey", true);
    });
    browser.waitForExist(".maputnik-toolbar-link");
    browser.flushReactUpdates();
  });

{'fraction_non_alphanumeric': 0.18236819360414866, 'fraction_numerical': 0.0, 'mean_word_length': 3.804979253112033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6013494', 'n_tokens_mistral': 361, 'n_tokens_neox': 354, 'n_words': 55}