mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
28 lines
544 B
TypeScript
28 lines
544 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class InputsPage {
|
|
navigateTo() {
|
|
return browser.get('/inputs');
|
|
}
|
|
|
|
getTitleText() {
|
|
return element(by.css('.title')).getText();
|
|
}
|
|
|
|
getIonicTextInput() {
|
|
return element(by.id('ionTextInput'));
|
|
}
|
|
|
|
getIonicTextInputOutputText() {
|
|
return element(by.id('ionTextInputOutput')).getText();
|
|
}
|
|
|
|
getIonicCheckbox() {
|
|
return element(by.id('ionCheckbox'));
|
|
}
|
|
|
|
getIonicCheckboxOutputText() {
|
|
return element(by.id('ionCheckboxOutput')).getText();
|
|
}
|
|
}
|