test(content): update content no-bounce e2e test

This commit is contained in:
Brandy Carney
2017-05-10 13:35:21 -04:00
parent 4623ae5879
commit 3139c97571
7 changed files with 51 additions and 34 deletions

View File

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

View File

@ -0,0 +1,10 @@
import { Component } from '@angular/core';
import { RootPage } from '../pages/root-page/root-page';
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
export class AppComponent {
root = RootPage;
}

View File

@ -0,0 +1,19 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../../..';
import { AppComponent } from './app.component';
import { RootPageModule } from '../pages/root-page/root-page.module';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
IonicModule.forRoot(AppComponent),
RootPageModule
],
bootstrap: [IonicApp]
})
export class AppModule {}

View File

@ -0,0 +1,14 @@
import { NgModule } from '@angular/core';
import { IonicPageModule } from '../../../../../..';
import { RootPage } from './root-page';
@NgModule({
declarations: [
RootPage,
],
imports: [
IonicPageModule.forChild(RootPage)
]
})
export class RootPageModule {}

View File

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