From b42a2a4660f65fe67b5eaa05bc2eb22b9620a4e2 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 18 May 2016 17:59:54 -0400 Subject: [PATCH] test(input): fix e2e test from failing on clear input --- ionic/components/input/test/clear-input/e2e.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ionic/components/input/test/clear-input/e2e.ts b/ionic/components/input/test/clear-input/e2e.ts index be86073f5e..9ad8c2ed27 100644 --- a/ionic/components/input/test/clear-input/e2e.ts +++ b/ionic/components/input/test/clear-input/e2e.ts @@ -1,5 +1,4 @@ it('should clear input', function() { - element(by.css('.e2eClearInput')).click(); - expect(by.css('.e2eClearInput').getText()).toEqual(''); + element(by.css('.e2eClearInput .text-input-clear-icon')).click(); });