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({
|
@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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
Reference in New Issue
Block a user