mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
test(all): fix the tests that don't have ion-nav
This commit is contained in:
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user