angular-cn/angular.io/e2e/app.e2e-spec.ts

20 lines
425 B
TypeScript
Raw Normal View History

import { SitePage } from './app.po';
describe('site App', function() {
let page: SitePage;
beforeEach(() => {
page = new SitePage();
});
it('should show features text after clicking "Features"', () => {
2017-02-03 02:02:23 -05:00
page.navigateTo()
.then(() => {
return page.featureLink.click();
})
.then(() => {
expect(page.getDocViewerText()).toContain('Progressive web apps');
});
});
});