test(e2e): update toolbar, typography and virtual scroll

This commit is contained in:
jgw96
2017-03-06 10:03:26 -06:00
parent 656ea66632
commit a2e469d408
18 changed files with 96 additions and 94 deletions

View File

@@ -0,0 +1,30 @@
import { Component, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../../..';
import { RootPage } from '../pages/root-page/root-page';
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
export class E2EApp {
root = RootPage;
}
@NgModule({
declarations: [
E2EApp,
RootPage
],
imports: [
BrowserModule,
IonicModule.forRoot(E2EApp)
],
bootstrap: [IonicApp],
entryComponents: [
E2EApp,
RootPage
]
})
export class AppModule {}

View File

@@ -20,4 +20,4 @@
<ion-range *ngIf="item.type === 'range'"></ion-range>
</ion-item>
</ion-list>
</ion-content>
</ion-content>

View File

@@ -1,12 +1,10 @@
import { Component, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule, Platform } from '../../../..';
import { Component } from '@angular/core';
import { Platform } from '../../../../../../';
@Component({
templateUrl: 'main.html'
templateUrl: 'root-page.html'
})
export class E2EPage {
export class RootPage {
items: any[] = [];
webview: string = '';
type: string = 'range';
@@ -55,29 +53,3 @@ export class E2EPage {
}
}
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
export class E2EApp {
root = E2EPage;
}
@NgModule({
declarations: [
E2EApp,
E2EPage
],
imports: [
BrowserModule,
IonicModule.forRoot(E2EApp)
],
bootstrap: [IonicApp],
entryComponents: [
E2EApp,
E2EPage
]
})
export class AppModule {}