From 30ca5a272babb2ea9426f6e5bbbf0c71b4713e70 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Thu, 7 Nov 2013 23:36:16 -0500 Subject: [PATCH] Add a screenshot for the repo admin of an org repo. --- screenshots/screenshots.js | 11 +++++++++++ 1 file changed, 11 insertions(+) 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();