build: run e2e tests with bazel (#14656)

* Builds the e2e app with Bazel
* Serves the e2e app with Bazel
* Runs the e2e tests with Bazel protractor rules
This commit is contained in:
Paul Gschwendtner
2019-01-11 23:43:04 +01:00
committed by Andrew Seguin
parent 5d86a1fe09
commit 326f8bb32f
42 changed files with 545 additions and 714 deletions
+2 -2
View File
@@ -2,10 +2,10 @@ import {browser, by, element} from 'protractor';
describe('button-toggle', () => {
beforeEach(() => browser.get('/button-toggle'));
beforeEach(async () => await browser.get('/button-toggle'));
it('should show a button-toggle', async () => {
expect(element(by.tagName('mat-button-toggle'))).toBeDefined();
expect(await element(by.tagName('mat-button-toggle'))).toBeDefined();
});
});