mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
feat(Input): added functionality for clear input option on ion-input
Implemented function to handle when the clearInput button is pressed on an ion-input element
This commit is contained in:
5
ionic/components/input/test/clear-input/e2e.ts
Normal file
5
ionic/components/input/test/clear-input/e2e.ts
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
it('should clear input', function() {
|
||||
element(by.css('.e2eClearInput')).click();
|
||||
expect(by.css('.e2eClearInput').getText()).toEqual('');
|
||||
});
|
Reference in New Issue
Block a user