angular-webpack-quickstart
Version:
Angular QuickStart with Webpack 2 - source from the documentation.
16 lines (11 loc) • 398 B
text/typescript
import { browser, element, by } from 'protractor';
describe('QuickStart E2E Tests', function () {
let expectedMsg = 'Hello Angular';
beforeEach(function () {
browser.get('');
});
it('should display: ' + expectedMsg, function () {
expect(1).toEqual(1);
element(by.css('h1')).getText().then(x => expect(x).toEqual(expectedMsg));
});
});