diff --git a/screenshots/screenshots.js b/screenshots/screenshots.js index 09a817ed4..914192216 100644 --- a/screenshots/screenshots.js +++ b/screenshots/screenshots.js @@ -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();