make sure screenshot tests discover lots of screenshot data

This commit is contained in:
Jonathan Lipps
2013-06-04 12:07:40 -07:00
parent de9f880fd8
commit 6ee90eb3e8
+2
View File
@@ -14,6 +14,7 @@ describeWd('screenshot', function(h) {
h.driver.takeScreenshot(function(err, screenshot) {
should.not.exist(err);
should.exist(screenshot);
screenshot.length.should.be.above(1000);
done();
});
});
@@ -23,6 +24,7 @@ describeWd('screenshot', function(h) {
h.driver.takeScreenshot(function(err, screenshot) {
should.not.exist(err);
should.exist(screenshot);
screenshot.length.should.be.above(1000);
h.driver.execute("mobile: find", [[[[7, "Animation"]]]], function(err, el) {
should.not.exist(err);
done();