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

View File

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

View File

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

View File

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

View File

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