diff --git a/initdb.py b/initdb.py index 2570b7ca9..1aaa0ec1a 100644 --- a/initdb.py +++ b/initdb.py @@ -344,11 +344,6 @@ def populate_database(): 'docker_tags': ['latest'], 'build_subdir': '', } - build = model.create_repository_build(building, token, job_config, - '701dcc3724fb4f2ea6c31400528343cd', - 'build-name', trigger) - build.uuid = 'deadbeef-dead-beef-dead-beefdeadbeef' - build.save() build2 = model.create_repository_build(building, token, job_config, '68daeebd-a5b9-457f-80a0-4363b882f8ea', @@ -362,6 +357,12 @@ def populate_database(): build3.uuid = 'deadduck-dead-duck-dead-duckdeadduck' build3.save() + build = model.create_repository_build(building, token, job_config, + '701dcc3724fb4f2ea6c31400528343cd', + 'build-name', trigger) + build.uuid = 'deadbeef-dead-beef-dead-beefdeadbeef' + build.save() + org = model.create_organization('buynlarge', 'quay@devtable.com', new_user_1) org.stripe_id = TEST_STRIPE_ID diff --git a/screenshots/screenshots.js b/screenshots/screenshots.js index fbef4ac01..d7a94c3d4 100644 --- a/screenshots/screenshots.js +++ b/screenshots/screenshots.js @@ -1,4 +1,4 @@ -var width = 1024; +var width = 1060; var height = 768; var casper = require('casper').create({ @@ -76,11 +76,14 @@ casper.then(function() { this.capture(outputDir + 'repo-view.png'); }); -casper.then(function() { - this.log('Generating repository changes screenshot.'); + +casper.thenClick('a[data-image="c3d710edbd3b"]', function() { + this.waitForText('And 3048 more...', function() { + this.capture(outputDir + 'image-view.png'); + }); }); -casper.thenClick('#current-image dd a', function() { +casper.thenClick('.image-link', function() { this.waitForSelector('.result-count', function() { this.capture(outputDir + 'repo-changes.png', { top: 0, @@ -89,7 +92,8 @@ casper.thenClick('#current-image dd a', function() { height: height }); }); -}) +}); + casper.then(function() { this.log('Generating repository admin screenshot.'); diff --git a/static/partials/view-repo.html b/static/partials/view-repo.html index b5d039974..eedeece40 100644 --- a/static/partials/view-repo.html +++ b/static/partials/view-repo.html @@ -177,7 +177,12 @@ - {{ image.id.substr(0, 12) }} + + + {{ image.id.substr(0, 12) }} + + @@ -199,7 +204,7 @@
diff --git a/test/data/test.db b/test/data/test.db index 3ea2e8dfa..a898d83c3 100644 Binary files a/test/data/test.db and b/test/data/test.db differ