diff --git a/src/components/badge/test/basic/index.ts b/src/components/badge/test/basic/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/badge/test/basic/index.ts +++ b/src/components/badge/test/basic/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/basic/index.ts b/src/components/button/test/basic/index.ts index 4f2dfa7979..2eb941a631 100644 --- a/src/components/button/test/basic/index.ts +++ b/src/components/button/test/basic/index.ts @@ -22,4 +22,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/block/index.ts b/src/components/button/test/block/index.ts index 41b68396b9..a18d36ccb2 100644 --- a/src/components/button/test/block/index.ts +++ b/src/components/button/test/block/index.ts @@ -13,4 +13,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/clear/index.ts b/src/components/button/test/clear/index.ts index b829dcb948..74b9224c03 100644 --- a/src/components/button/test/clear/index.ts +++ b/src/components/button/test/clear/index.ts @@ -13,4 +13,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/dynamic/index.ts b/src/components/button/test/dynamic/index.ts index ae6b4d0794..6e025e6571 100644 --- a/src/components/button/test/dynamic/index.ts +++ b/src/components/button/test/dynamic/index.ts @@ -52,4 +52,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/fab/index.ts b/src/components/button/test/fab/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/button/test/fab/index.ts +++ b/src/components/button/test/fab/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/fab/main.html b/src/components/button/test/fab/main.html index 88976834c3..f993130f7a 100644 --- a/src/components/button/test/fab/main.html +++ b/src/components/button/test/fab/main.html @@ -1,24 +1,25 @@ + + - + - + - + - + - - - + + diff --git a/src/components/button/test/full/index.ts b/src/components/button/test/full/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/button/test/full/index.ts +++ b/src/components/button/test/full/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/icons/index.ts b/src/components/button/test/icons/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/button/test/icons/index.ts +++ b/src/components/button/test/icons/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/outline/index.ts b/src/components/button/test/outline/index.ts index fb12bd391d..09d7835e69 100644 --- a/src/components/button/test/outline/index.ts +++ b/src/components/button/test/outline/index.ts @@ -13,4 +13,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/raised/index.ts b/src/components/button/test/raised/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/button/test/raised/index.ts +++ b/src/components/button/test/raised/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/button/test/round/index.ts b/src/components/button/test/round/index.ts index 54b21c5cd9..c52667cacf 100644 --- a/src/components/button/test/round/index.ts +++ b/src/components/button/test/round/index.ts @@ -5,6 +5,13 @@ import {ionicBootstrap} from '../../../../../src'; @Component({ templateUrl: 'main.html' }) -class E2EApp {} +class E2EPage {} + +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} ionicBootstrap(E2EApp); diff --git a/src/components/button/test/sizes/index.ts b/src/components/button/test/sizes/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/button/test/sizes/index.ts +++ b/src/components/button/test/sizes/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/card/test/advanced/index.ts b/src/components/card/test/advanced/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/card/test/advanced/index.ts +++ b/src/components/card/test/advanced/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/card/test/basic/index.ts b/src/components/card/test/basic/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/card/test/basic/index.ts +++ b/src/components/card/test/basic/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/card/test/images/index.ts b/src/components/card/test/images/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/card/test/images/index.ts +++ b/src/components/card/test/images/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/card/test/list/index.ts b/src/components/card/test/list/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/card/test/list/index.ts +++ b/src/components/card/test/list/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/card/test/map/index.ts b/src/components/card/test/map/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/card/test/map/index.ts +++ b/src/components/card/test/map/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/card/test/social/index.ts b/src/components/card/test/social/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/card/test/social/index.ts +++ b/src/components/card/test/social/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/checkbox/test/basic/index.ts b/src/components/checkbox/test/basic/index.ts index 34197b7fa8..739475ec49 100644 --- a/src/components/checkbox/test/basic/index.ts +++ b/src/components/checkbox/test/basic/index.ts @@ -53,4 +53,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/chip/test/basic/index.ts b/src/components/chip/test/basic/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/chip/test/basic/index.ts +++ b/src/components/chip/test/basic/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/chip/test/delete/index.ts b/src/components/chip/test/delete/index.ts index 58ca58c460..327e1f4e43 100644 --- a/src/components/chip/test/delete/index.ts +++ b/src/components/chip/test/delete/index.ts @@ -13,4 +13,11 @@ class E2EPage { } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/chip/test/icon/index.ts b/src/components/chip/test/icon/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/chip/test/icon/index.ts +++ b/src/components/chip/test/icon/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/chip/test/image/index.ts b/src/components/chip/test/image/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/chip/test/image/index.ts +++ b/src/components/chip/test/image/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/grid/test/alignment/index.ts b/src/components/grid/test/alignment/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/grid/test/alignment/index.ts +++ b/src/components/grid/test/alignment/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/grid/test/basic/index.ts b/src/components/grid/test/basic/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/grid/test/basic/index.ts +++ b/src/components/grid/test/basic/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/grid/test/full/index.ts b/src/components/grid/test/full/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/grid/test/full/index.ts +++ b/src/components/grid/test/full/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/icon/test/basic/index.ts b/src/components/icon/test/basic/index.ts index 78f1905263..b4d06c0da0 100644 --- a/src/components/icon/test/basic/index.ts +++ b/src/components/icon/test/basic/index.ts @@ -31,4 +31,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/infinite-scroll/test/short-list/index.ts b/src/components/infinite-scroll/test/short-list/index.ts index ef0680eca2..d93a8c2a91 100644 --- a/src/components/infinite-scroll/test/short-list/index.ts +++ b/src/components/infinite-scroll/test/short-list/index.ts @@ -33,7 +33,14 @@ class E2EPage { } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); function getAsyncData(): Promise { // async return mock data diff --git a/src/components/input/test/clear-input/index.ts b/src/components/input/test/clear-input/index.ts index f0dfc7ba73..0ea4d927a2 100644 --- a/src/components/input/test/clear-input/index.ts +++ b/src/components/input/test/clear-input/index.ts @@ -9,4 +9,11 @@ class E2EPage { myValue = 'value'; } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/input/test/floating-labels/index.ts b/src/components/input/test/floating-labels/index.ts index 115efecc15..7313cdfef9 100644 --- a/src/components/input/test/floating-labels/index.ts +++ b/src/components/input/test/floating-labels/index.ts @@ -14,4 +14,11 @@ class E2EPage { }; } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/input/test/inline-labels/index.ts b/src/components/input/test/inline-labels/index.ts index 3d986f1c7b..2f1edd8d72 100644 --- a/src/components/input/test/inline-labels/index.ts +++ b/src/components/input/test/inline-labels/index.ts @@ -12,4 +12,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/input/test/input-focus/index.ts b/src/components/input/test/input-focus/index.ts index 29915d7468..c2c32e5a3d 100644 --- a/src/components/input/test/input-focus/index.ts +++ b/src/components/input/test/input-focus/index.ts @@ -33,4 +33,11 @@ document.addEventListener('focusout', (ev: any) => { console.log(`FOCUS OUT, ${ev.target.localName}.${ev.target.className}, time: ${Date.now()}`); }); -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/input/test/inset-inputs/index.ts b/src/components/input/test/inset-inputs/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/input/test/inset-inputs/index.ts +++ b/src/components/input/test/inset-inputs/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/input/test/placeholder-labels/index.ts b/src/components/input/test/placeholder-labels/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/input/test/placeholder-labels/index.ts +++ b/src/components/input/test/placeholder-labels/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/item/test/buttons/index.ts b/src/components/item/test/buttons/index.ts index 7473e617bd..e2f08ece60 100644 --- a/src/components/item/test/buttons/index.ts +++ b/src/components/item/test/buttons/index.ts @@ -11,4 +11,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/item/test/dividers/index.ts b/src/components/item/test/dividers/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/item/test/dividers/index.ts +++ b/src/components/item/test/dividers/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/item/test/icons/index.ts b/src/components/item/test/icons/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/item/test/icons/index.ts +++ b/src/components/item/test/icons/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/item/test/images/index.ts b/src/components/item/test/images/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/item/test/images/index.ts +++ b/src/components/item/test/images/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/item/test/media/index.ts b/src/components/item/test/media/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/item/test/media/index.ts +++ b/src/components/item/test/media/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/item/test/text/index.ts b/src/components/item/test/text/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/item/test/text/index.ts +++ b/src/components/item/test/text/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/list/test/headers/index.ts b/src/components/list/test/headers/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/list/test/headers/index.ts +++ b/src/components/list/test/headers/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/list/test/inset/index.ts b/src/components/list/test/inset/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/list/test/inset/index.ts +++ b/src/components/list/test/inset/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/list/test/no-lines/index.ts b/src/components/list/test/no-lines/index.ts index 6fe29fcc36..c52667cacf 100644 --- a/src/components/list/test/no-lines/index.ts +++ b/src/components/list/test/no-lines/index.ts @@ -7,4 +7,11 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage {} -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/list/test/repeat-headers/index.ts b/src/components/list/test/repeat-headers/index.ts index 5d9eabfb1d..d86529e181 100644 --- a/src/components/list/test/repeat-headers/index.ts +++ b/src/components/list/test/repeat-headers/index.ts @@ -13,4 +13,11 @@ class E2EPage { ]; } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/list/test/sticky/index.ts b/src/components/list/test/sticky/index.ts index bd4f063da7..c345eb9a7d 100644 --- a/src/components/list/test/sticky/index.ts +++ b/src/components/list/test/sticky/index.ts @@ -28,4 +28,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp); diff --git a/src/components/menu/test/basic/index.ts b/src/components/menu/test/basic/index.ts index e3e713d517..5f10b43a4c 100644 --- a/src/components/menu/test/basic/index.ts +++ b/src/components/menu/test/basic/index.ts @@ -85,4 +85,11 @@ class E2EPage { } } -ionicBootstrap(E2EPage); +@Component({ + template: '' +}) +class E2EApp { + rootPage = E2EPage; +} + +ionicBootstrap(E2EApp);