mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
18 lines
614 B
TypeScript
18 lines
614 B
TypeScript
|
|
it('default should focus', function() {
|
|
element(by.css('.e2eDefaultFloatingSearchbar input')).sendKeys("AA");
|
|
});
|
|
|
|
it('hide cancel button should focus', function() {
|
|
element(by.css('.e2eDefaultCancelButtonFloatingSearchbar input')).sendKeys("CC");
|
|
});
|
|
|
|
it('custom cancel button should focus', function() {
|
|
element(by.css('.e2eCustomCancelButtonFloatingSearchbar input')).sendKeys("DD");
|
|
});
|
|
|
|
// TODO - this test will work on iOS but fail on Android
|
|
// it('custom cancel action should alert', function() {
|
|
// element(by.css('.e2eCustomCancelActionFloatingSearchbar .searchbar-ios-cancel')).click();
|
|
// });
|