angular-docs-cn/integration/hello_world__closure/e2e/app.e2e-spec.ts

9 lines
252 B
TypeScript

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