mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
326f8bb32f
* Builds the e2e app with Bazel * Serves the e2e app with Bazel * Runs the e2e tests with Bazel protractor rules
19 lines
629 B
TypeScript
19 lines
629 B
TypeScript
import {browser, by, element} from 'protractor';
|
|
|
|
describe('progress-spinner', () => {
|
|
beforeEach(async () => await browser.get('/progress-spinner'));
|
|
|
|
it('should render a determinate progress spinner', async () => {
|
|
expect(await element(by.css('mat-progress-spinner')).isPresent()).toBe(true);
|
|
});
|
|
|
|
it('should render an indeterminate progress spinner', async () => {
|
|
expect(await element(by.css('mat-progress-spinner[mode="indeterminate"]')).isPresent())
|
|
.toBe(true);
|
|
});
|
|
|
|
it('should render a spinner', async () => {
|
|
expect(await element(by.css('mat-spinner')).isPresent()).toBe(true);
|
|
});
|
|
});
|