test(all): fix the tests that don't have ion-nav

This commit is contained in:
Brandy Carney
2016-06-17 17:53:18 -04:00
parent 8fb4563527
commit 1b882800f7
5 changed files with 36 additions and 7 deletions

View File

@ -6,7 +6,7 @@ import {Control, ControlGroup} from '@angular/common';
@Component({ @Component({
templateUrl: 'main.html' templateUrl: 'main.html'
}) })
class E2EApp { class E2EPage {
fruits: Control; fruits: Control;
fruitsForm: ControlGroup; fruitsForm: ControlGroup;
currenciesControl: Control; currenciesControl: Control;
@ -73,4 +73,11 @@ class E2EApp {
} }
} }
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
class E2EApp {
root = E2EPage;
}
ionicBootstrap(E2EApp); ionicBootstrap(E2EApp);

View File

@ -6,7 +6,7 @@ import {ionicBootstrap} from '../../../../../src';
@Component({ @Component({
templateUrl: 'main.html' templateUrl: 'main.html'
}) })
class E2EApp { class E2EPage {
defaultSearch: string = 'test'; defaultSearch: string = 'test';
customPlaceholder: number = 2; customPlaceholder: number = 2;
defaultCancel: string = ''; defaultCancel: string = '';
@ -50,4 +50,11 @@ class E2EApp {
} }
} }
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
class E2EApp {
root = E2EPage;
}
ionicBootstrap(E2EApp); ionicBootstrap(E2EApp);

View File

@ -5,11 +5,18 @@ import {ionicBootstrap} from '../../../../../src';
@Component({ @Component({
templateUrl: 'main.html' templateUrl: 'main.html'
}) })
class E2EApp { class E2EPage {
defaultToolbarSearch: string = ''; defaultToolbarSearch: string = '';
primaryToolbarSearch: string = ''; primaryToolbarSearch: string = '';
darkToolbarSearch: string = ''; darkToolbarSearch: string = '';
lightToolbarSearch: string = ''; lightToolbarSearch: string = '';
} }
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
class E2EApp {
root = E2EPage;
}
ionicBootstrap(E2EApp); ionicBootstrap(E2EApp);

View File

@ -1,10 +1,11 @@
ion-tabs[no-navbar] { ion-tabs {
margin-bottom: 20px; margin-bottom: 20px;
} }
ion-tabs[no-navbar], ion-tabs,
ion-tabs[no-navbar] ion-tabbar { ion-tabs ion-tabbar {
position: relative; position: relative;
top: auto; top: auto;
height: auto; height: auto;
visibility: visible;
} }

View File

@ -6,7 +6,7 @@ import {ionicBootstrap} from '../../../../../src';
@Component({ @Component({
templateUrl: 'main.html' templateUrl: 'main.html'
}) })
class E2EApp { class E2EPage {
fruitsForm: ControlGroup; fruitsForm: ControlGroup;
grapeDisabled: boolean; grapeDisabled: boolean;
grapeChecked: boolean; grapeChecked: boolean;
@ -59,4 +59,11 @@ class E2EApp {
} }
} }
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
class E2EApp {
root = E2EPage;
}
ionicBootstrap(E2EApp); ionicBootstrap(E2EApp);