From 06e5dcbecc57d4cba6c71cab262387cce7f8e21d Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Fri, 16 Sep 2016 04:44:49 -0400
Subject: [PATCH] Fixed e2e tests.

---
 gulpfile.ts                                         | 1 +
 protractor.conf.js                                  | 6 ++++++
 src/client/app/components/app.component.e2e-spec.ts | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/gulpfile.ts b/gulpfile.ts
index ea1c4e0d..409cc532 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -34,6 +34,7 @@ gulp.task('build.e2e', (done: any) =>
   runSequence('clean.dev',
               'tslint',
               'build.assets.dev',
+              'build.html_css',
               'build.js.e2e',
               'build.index.dev',
               done));
diff --git a/protractor.conf.js b/protractor.conf.js
index 41192ede..6a69cf23 100644
--- a/protractor.conf.js
+++ b/protractor.conf.js
@@ -30,6 +30,12 @@ const config = {
     // needed for custom class decorators
     require("reflect-metadata");
     require("zone.js/dist/zone-node");
+    require("zone.js/dist/long-stack-trace-zone");
+    require("zone.js/dist/async-test");
+    require("zone.js/dist/fake-async-test");
+    require("zone.js/dist/sync-test");
+    require("zone.js/dist/proxy");
+    require("zone.js/dist/jasmine-patch");
 
     const SpecReporter = require('jasmine-spec-reporter');
     // add jasmine spec reporter
diff --git a/src/client/app/components/app.component.e2e-spec.ts b/src/client/app/components/app.component.e2e-spec.ts
index af884867..391ddf2c 100644
--- a/src/client/app/components/app.component.e2e-spec.ts
+++ b/src/client/app/components/app.component.e2e-spec.ts
@@ -9,7 +9,7 @@ t.describe('App', function() {
   });
 
   t.it('should have a title', function() {
-    t.e(browser.getTitle()).toEqual('Angular 2 Seed Advanced');
+    t.e(browser.getTitle()).toEqual('Driftlog');
   });
 
   t.it('should have <nav>', function() {
-- 
GitLab