mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Seguin
parent
5d86a1fe09
commit
326f8bb32f
@@ -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();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user