mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-26 18:40:37 +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("./map");
|
||||
require("./modals");
|
||||
// require("./screenshots");
|
||||
require("./screenshots");
|
||||
// ------------------------
|
||||
|
||||
});
|
||||
|
|
|
@ -3,8 +3,6 @@ var config = require("../../config/specs");
|
|||
var helper = require("../helper");
|
||||
var wd = require("../../wd-helper");
|
||||
|
||||
var SCREENSHOTS_PATH = artifacts.pathSync("/screenshots");
|
||||
|
||||
|
||||
describe('screenshots', function() {
|
||||
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
var artifacts = require("../../artifacts");
|
||||
var fs = require("fs");
|
||||
var path = require("path");
|
||||
|
||||
|
||||
browser.timeoutsAsyncScript(20*1000);
|
||||
browser.timeoutsImplicitWait(20*1000);
|
||||
|
||||
var SCREENSHOTS_PATH = artifacts.pathSync("/screenshots");
|
||||
|
||||
/**
|
||||
* Sometimes chrome driver can result in the wrong text.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue