Add a screenshot for the repo admin of an org repo.
This commit is contained in:
parent
5fe1a6806e
commit
30ca5a272b
1 changed files with 11 additions and 0 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue