mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a0dc0a2f46
PR Close #21557
13 lines
411 B
TypeScript
13 lines
411 B
TypeScript
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!!');
|
|
});
|
|
});
|