From f7880c9d5f84748c568daf22b0b61fbcf6c9f3a0 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 22 Jun 2016 15:52:51 -0400 Subject: [PATCH] test(e2e): fix e2e tests with missing ion-navs, hide border on toolbars --- .../show-hide-when/test/basic/index.ts | 10 ++++++- src/components/spinner/test/basic/index.ts | 10 ++++++- src/components/toolbar/test/colors/main.html | 26 ++++++++--------- .../toolbar/test/scenarios/main.html | 28 +++++++++---------- 4 files changed, 45 insertions(+), 29 deletions(-) diff --git a/src/components/show-hide-when/test/basic/index.ts b/src/components/show-hide-when/test/basic/index.ts index e9b68d4f20..c0c8c8ee25 100644 --- a/src/components/show-hide-when/test/basic/index.ts +++ b/src/components/show-hide-when/test/basic/index.ts @@ -6,7 +6,7 @@ import {ionicBootstrap} from '../../../../../src'; @Component({ templateUrl: 'main.html' }) -class E2EApp { +class E2EPage { fruitsForm: ControlGroup; grapeDisabled = true; grapeChecked = true; @@ -36,4 +36,12 @@ class E2EApp { } } + +@Component({ + template: '' +}) +class E2EApp { + root = E2EPage; +} + ionicBootstrap(E2EApp); diff --git a/src/components/spinner/test/basic/index.ts b/src/components/spinner/test/basic/index.ts index 8715c84f1e..646b167657 100644 --- a/src/components/spinner/test/basic/index.ts +++ b/src/components/spinner/test/basic/index.ts @@ -5,7 +5,7 @@ import {ionicBootstrap} from '../../../../../src'; @Component({ templateUrl: 'main.html' }) -class E2EApp { +class E2EPage { paused: boolean = false; toggleState() { @@ -13,4 +13,12 @@ class E2EApp { } } + +@Component({ + template: '' +}) +class E2EApp { + root = E2EPage; +} + ionicBootstrap(E2EApp); diff --git a/src/components/toolbar/test/colors/main.html b/src/components/toolbar/test/colors/main.html index 73adba1f52..6e8dfb43a7 100644 --- a/src/components/toolbar/test/colors/main.html +++ b/src/components/toolbar/test/colors/main.html @@ -1,10 +1,10 @@ - + This is the title that never ends. It just goes on and on my friend. - + @@ -24,7 +24,7 @@ Default - + @@ -160,7 +160,7 @@ Danger - + @@ -188,7 +188,7 @@ Light - + @@ -170,7 +170,7 @@ Left side menu toggle - + - +