feat(numeric-input): create e2e test case

This commit is contained in:
Ken Sodemann
2017-12-11 14:17:51 -06:00
parent 8b6a1826a3
commit 6069549792
4 changed files with 44 additions and 11 deletions

View File

@ -39,17 +39,17 @@
<ion-col>
<ion-item>
<ion-label>Ionic Numeric Input</ion-label>
<ion-input type="number" id="ionNumberInput" name="ionNumberInput" [(ngModel)]="numberValue"></ion-input>
<ion-input type="number" id="ionNumericInput" name="ionNumericInput" [(ngModel)]="numericValue"></ion-input>
</ion-item>
</ion-col>
<ion-col>
<div>
Value:
<span id="numberOutput">{{numberValue}}</span>
<span id="numericOutput">{{numericValue}}</span>
</div>
<div>
Type:
<span id="numberOutputType">{{typeOf(numberValue)}}</span>
<span id="numericOutputType">{{typeOf(numericValue)}}</span>
</div>
</ion-col>
</ion-row>

View File

@ -10,7 +10,7 @@ export class BasicInputsPageComponent implements OnInit {
datetimeValue = '2017-11-18T14:17:45-06:00';
textareaValue = 'This is the Textarea Input';
textValue = 'This is the Text Input';
numberValue = 1138;
numericValue = 1138;
checkboxValue = true;
toggleValue = false;