Skip to content

Commit

Permalink
Initial test to see if screenshot timing is the prob.
Browse files Browse the repository at this point in the history
Fixes #5932
  • Loading branch information
LeeDr committed Jan 19, 2016
1 parent cdb2368 commit 1b13204
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/apps/visualize/_area_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ define(function (require) {
common.debug('Waiting...');
return headerPage.getSpinnerDone();
})
.then(function sleep() {
return common.sleep(10000);
})
.then(function takeScreenshot() {
common.debug('Take screenshot');
common.saveScreenshot('./screenshot-' + testSubName + '.png');
Expand Down

0 comments on commit 1b13204

Please sign in to comment.