Files
angular__angular/e2e/components/progress-bar-e2e.spec.ts
T
Kristiyan Kostadinov 8e6bee8116 chore: reorganize e2e test files (#5032)
* Renames the e2e test file to match the pattern of `{{component}}-e2e.spec.ts`.
* Flattens the directory structure in the `e2e` directory. Having a separate dir for each component was overkill since only have one file per component.
* Fixes some inconsistent code styles in the Protractor config.

Fixes #5030.
2017-06-09 16:09:08 -07:00

23 lines
639 B
TypeScript

import {browser} from 'protractor';
import {expectToExist} from '../util/index';
describe('progress-bar', () => {
beforeEach(() => browser.get('/progress-bar'));
it('should render a determinate progress bar', () => {
expectToExist('md-progress-bar[mode="determinate"]');
});
it('should render a buffer progress bar', () => {
expectToExist('md-progress-bar[mode="buffer"]');
});
it('should render a query progress bar', () => {
expectToExist('md-progress-bar[mode="query"]');
});
it('should render a indeterminate progress bar', () => {
expectToExist('md-progress-bar[mode="indeterminate"]');
});
});