Add a screenshot for the repo admin of an org repo.

This commit is contained in:
yackob03 2013-11-07 23:36:16 -05:00
parent 5fe1a6806e
commit 30ca5a272b

View file

@ -30,6 +30,7 @@ var isDebug = !!options['d'];
var rootUrl = isDebug ? 'http://localhost:5000/' : 'https://quay.io/';
var repo = isDebug ? 'complex' : 'r0';
var org = isDebug ? 'buynlarge' : 'quay'
var orgrepo = 'orgrepo'
var outputDir = "screenshots/";
@ -123,4 +124,14 @@ casper.then(function() {
this.capture(outputDir + 'org-admin.png');
});
casper.thenOpen(rootUrl + 'repository/' + org + '/' + orgrepo + '/admin', function() {
this.waitForText('outsideorg')
});
disableOlark();
casper.then(function() {
this.capture(outputDir + 'org-repo-admin.png');
});
casper.run();