angular-docs-cn/public/docs/_examples/cli-quickstart/e2e-spec.ts.temporarily-rem...

15 lines
393 B
Plaintext

'use strict'; // necessary for es6 output in node
import { browser, element, by } from 'protractor';
describe('cli-quickstart App', () => {
beforeEach(() => {
return browser.get('/');
});
it('should display message saying app works', () => {
let pageTitle = element(by.css('cli-quickstart-app h1')).getText();
expect(pageTitle).toEqual('My First Angular App');
});
});