angular-cn/integration/hello_world__render3__rollup/e2e/app.e2e-spec.ts

13 lines
411 B
TypeScript
Raw Normal View History

import { browser, element, by } from 'protractor';
describe('Hello world E2E Tests', function () {
it('should display: Hello world!', function () {
browser.ignoreSynchronization = true;
browser.get('');
const div = element(by.css('div'));
expect(div.getText()).toEqual('Hello world!');
element(by.css('input')).sendKeys('!');
expect(div.getText()).toEqual('Hello world!!');
});
});