mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
18 lines
374 B
TypeScript
18 lines
374 B
TypeScript
'use strict'; // necessary for es6 output in node
|
|
|
|
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(element(by.css('h1')).getText()).toEqual(expectedMsg);
|
|
});
|
|
|
|
});
|