mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
23 lines
545 B
TypeScript
23 lines
545 B
TypeScript
import { InputsPage } from './inputs.po';
|
|
|
|
describe('Demo Inputs Page', () => {
|
|
let page: InputsPage;
|
|
|
|
beforeEach(() => {
|
|
page = new InputsPage();
|
|
});
|
|
|
|
it('should display title', () => {
|
|
page.navigateTo();
|
|
expect(page.getTitleText()).toEqual('Ionic Core Inputs Demo');
|
|
});
|
|
|
|
describe('input one', () => {
|
|
it('should display the starting text', () => {
|
|
page.navigateTo();
|
|
const el = page.getIonicTextInput();
|
|
expect(el.getAttribute('value')).toEqual('This is the Ionic Text Input');
|
|
});
|
|
});
|
|
});
|