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,29 @@
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

@@ -1,13 +1,12 @@
import { Component, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { Component } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { IonicApp, IonicModule, Toggle } from '../../../..';
import { Toggle } from '../../../../../../';
@Component({
templateUrl: 'main.html'
templateUrl: 'root-page.html'
})
export class E2EPage {
export class RootPage {
grapeDisabled: boolean;
grapeChecked: boolean;
kiwiValue: boolean;
@@ -63,27 +62,3 @@ export class E2EPage {
ev.preventDefault();
}
}
@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 {}

View File

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

View File

@@ -103,4 +103,4 @@
Footer
</ion-title>
</ion-toolbar>
</ion-footer>
</ion-footer>

View File

@@ -0,0 +1,8 @@
import { Component } from '@angular/core';
@Component({
templateUrl: 'root-page.html'
})
export class RootPage {
}

View File

@@ -1,6 +1,5 @@
import { Component, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../..';
import { IonicApp, IonicModule } from '../../../../';
@Component({
@@ -19,7 +18,6 @@ export class E2EApp {
E2EApp
],
imports: [
BrowserModule,
IonicModule.forRoot(E2EApp)
],
bootstrap: [IonicApp],

View File

@@ -0,0 +1,29 @@
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

@@ -0,0 +1,8 @@
import { Component } from '@angular/core';
@Component({
templateUrl: 'root-page.html'
})
export class RootPage {
dynamicColor: string = 'secondary';
}

View File

@@ -1,26 +1,21 @@
import { Component, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../..';
import { IonicApp, IonicModule } from '../../../../..';
@Component({
templateUrl: 'main.html'
})
export class E2EPage {
dynamicColor: string = 'secondary';
}
import { RootPage } from '../pages/root-page/root-page';
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
export class E2EApp {
root = E2EPage;
root = RootPage;
}
@NgModule({
declarations: [
E2EApp,
E2EPage
RootPage
],
imports: [
BrowserModule,
@@ -29,7 +24,7 @@ export class E2EApp {
bootstrap: [IonicApp],
entryComponents: [
E2EApp,
E2EPage
RootPage
]
})
export class AppModule {}

View File

@@ -1,5 +0,0 @@
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app.module';
platformBrowserDynamic().bootstrapModule(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 {}