mirror of
https://github.com/maputnik/editor.git
synced 2025-12-06 14:20:02 +00:00
Fixed screenshots.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user