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

19 lines
425 B
TypeScript

import { SitePage } from './app.po';
describe('site App', function() {
let page: SitePage;
beforeEach(() => {
page = new SitePage();
page.navigateTo();
});
it('should show features text after clicking "Features"', () => {
page.featureLink.click().then(() => {
expect(page.getDocViewerText()).toContain('Progressive web apps');
});
});
it('should convert a doc with a code-example');
});