diff --git a/tools/gulp/tasks/e2e.ts b/tools/gulp/tasks/e2e.ts index b2a2f7af4dd7..46ee68e8415e 100644 --- a/tools/gulp/tasks/e2e.ts +++ b/tools/gulp/tasks/e2e.ts @@ -64,6 +64,7 @@ task('e2e', (done: (err?: string) => void) => { 'serve:e2eapp', ':test:protractor', ':serve:e2eapp:stop', + 'screenshots', (err: any) => done(err) ); }); diff --git a/tools/gulp/tasks/screenshots.ts b/tools/gulp/tasks/screenshots.ts index 65adb0da02ef..7c602811a907 100644 --- a/tools/gulp/tasks/screenshots.ts +++ b/tools/gulp/tasks/screenshots.ts @@ -22,6 +22,7 @@ task('screenshots', () => { .then((results: boolean) => { return database.ref(FIREBASE_REPORT).child(`${prNumber}/result`).set(results); }) + .then(() => database.ref(FIREBASE_REPORT).child(`${prNumber}/commit`).set(process.env['TRAVIS_COMMIT'])) .then(() => setFilenameList(database, prNumber)) .then(() => uploadScreenshots(prNumber, 'diff')) .then(() => uploadScreenshots(prNumber, 'test'))