mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
chore(tests): add testing for disabled inputs
This commit is contained in:
@ -46,6 +46,19 @@ export class BasicInputsPage {
|
||||
return element(by.id('textareaOutput')).getText();
|
||||
}
|
||||
|
||||
getIonicSearchInput() {
|
||||
return element(by.id('ionSearchInput'));
|
||||
}
|
||||
|
||||
getIonicSearchInputEditable() {
|
||||
const parent = this.getIonicSearchInput();
|
||||
return parent.all(by.css('input')).first();
|
||||
}
|
||||
|
||||
getSearchOutput() {
|
||||
return element(by.id('searchOutput')).getText();
|
||||
}
|
||||
|
||||
getIonicTextInput() {
|
||||
return element(by.id('ionTextInput'));
|
||||
}
|
||||
@ -71,4 +84,8 @@ export class BasicInputsPage {
|
||||
getNumericOutputType() {
|
||||
return element(by.id('numericOutputType')).getText();
|
||||
}
|
||||
|
||||
getDisableButton() {
|
||||
return element(by.id('disableCheckbox'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user