From 319fc9db1f071daa73e4eb1442314c108761ad9b Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 6 Oct 2015 17:28:20 -0400 Subject: [PATCH] test(search-bar): added tests for input focus animation References #247 --- ionic/components/search-bar/test/floating/e2e.ts | 4 ++++ ionic/components/search-bar/test/floating/main.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ionic/components/search-bar/test/floating/e2e.ts diff --git a/ionic/components/search-bar/test/floating/e2e.ts b/ionic/components/search-bar/test/floating/e2e.ts new file mode 100644 index 0000000000..b9a75978aa --- /dev/null +++ b/ionic/components/search-bar/test/floating/e2e.ts @@ -0,0 +1,4 @@ + +it('should animate focus', function() { + element(by.css('.e2eFloatingSearchBar input')).sendKeys("Should animate"); +}); diff --git a/ionic/components/search-bar/test/floating/main.html b/ionic/components/search-bar/test/floating/main.html index 429fdf6eed..0f7912fd4f 100644 --- a/ionic/components/search-bar/test/floating/main.html +++ b/ionic/components/search-bar/test/floating/main.html @@ -6,7 +6,7 @@
- +