mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
33edff5f14
* Bumps the version of Jasmine to allow for better type safety in the assertions. * Fixes a few new compilation errors.
19 lines
617 B
TypeScript
19 lines
617 B
TypeScript
import {browser, by, element} from 'protractor';
|
|
|
|
describe('progress-spinner', () => {
|
|
beforeEach(() => 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);
|
|
});
|
|
});
|