test(search-bar): added tests for input focus animation

References #247
This commit is contained in:
Brandy Carney
2015-10-06 17:28:20 -04:00
parent be0ad2d295
commit 319fc9db1f
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
it('should animate focus', function() {
element(by.css('.e2eFloatingSearchBar input')).sendKeys("Should animate");
});

View File

@@ -6,7 +6,7 @@
<ion-content>
<form [ng-form-model]="form">
<label> Default Search </label>
<ion-search-bar ng-control="searchQuery"></ion-search-bar>
<ion-search-bar ng-control="searchQuery" class="e2eFloatingSearchBar"></ion-search-bar>
<label> Placeholder Search </label>
<ion-search-bar ng-control="searchQuery" placeholder="Filter"></ion-search-bar>
</form>