Initial test to see if screenshot timing is the prob.
This commit is contained in:
parent
d0298d7247
commit
68a46618ab
1 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,9 @@ define(function (require) {
|
||||||
common.debug('Waiting...');
|
common.debug('Waiting...');
|
||||||
return headerPage.getSpinnerDone();
|
return headerPage.getSpinnerDone();
|
||||||
})
|
})
|
||||||
|
.then(function sleep() {
|
||||||
|
return common.sleep(10000);
|
||||||
|
})
|
||||||
.then(function takeScreenshot() {
|
.then(function takeScreenshot() {
|
||||||
common.debug('Take screenshot');
|
common.debug('Take screenshot');
|
||||||
common.saveScreenshot('./screenshot-' + testSubName + '.png');
|
common.saveScreenshot('./screenshot-' + testSubName + '.png');
|
||||||
|
|
Loading…
Reference in a new issue