Fixed screenshots.

This commit is contained in:
orangemug
2018-01-17 15:39:17 +00:00
parent 1eb6c28617
commit ad34147f28
3 changed files with 8 additions and 3 deletions

View File

@@ -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.
*