test(bazel): Make sure CLI project created with Bazel works with original workflow (#27741)

Bazel bits added to a CLI project should not be destructive.
The project should still work under the original CLI workflow.

PR Close #27741
This commit is contained in:
Keen Yee Liau
2018-12-18 15:44:13 -08:00
committed by Matias Niemelä
parent 3ab25ab078
commit b08f3acf09
4 changed files with 187 additions and 2 deletions

View File

@ -0,0 +1,20 @@
import { AppPage } from './app.po';
import { browser } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to demo!');
});
afterEach(async () => {
const logs = await browser.manage().logs().get('browser');
expect(logs).toEqual([]);
});
});