mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 09:45:29 +01:00
Fixed screenshots.
This commit is contained in:
parent
1eb6c28617
commit
ad34147f28
3 changed files with 8 additions and 3 deletions
|
@ -26,7 +26,7 @@ describe('maputnik', function() {
|
||||||
require("./layers");
|
require("./layers");
|
||||||
require("./map");
|
require("./map");
|
||||||
require("./modals");
|
require("./modals");
|
||||||
// require("./screenshots");
|
require("./screenshots");
|
||||||
// ------------------------
|
// ------------------------
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -3,8 +3,6 @@ var config = require("../../config/specs");
|
||||||
var helper = require("../helper");
|
var helper = require("../helper");
|
||||||
var wd = require("../../wd-helper");
|
var wd = require("../../wd-helper");
|
||||||
|
|
||||||
var SCREENSHOTS_PATH = artifacts.pathSync("/screenshots");
|
|
||||||
|
|
||||||
|
|
||||||
describe('screenshots', function() {
|
describe('screenshots', function() {
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
|
var artifacts = require("../../artifacts");
|
||||||
|
var fs = require("fs");
|
||||||
|
var path = require("path");
|
||||||
|
|
||||||
|
|
||||||
browser.timeoutsAsyncScript(20*1000);
|
browser.timeoutsAsyncScript(20*1000);
|
||||||
browser.timeoutsImplicitWait(20*1000);
|
browser.timeoutsImplicitWait(20*1000);
|
||||||
|
|
||||||
|
var SCREENSHOTS_PATH = artifacts.pathSync("/screenshots");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sometimes chrome driver can result in the wrong text.
|
* Sometimes chrome driver can result in the wrong text.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue