2017-01-18 23:13:48 +01:00
|
|
|
import {browser} from 'protractor';
|
2017-06-10 01:09:08 +02:00
|
|
|
import {expectToExist} from '../util/index';
|
|
|
|
|
import {screenshot} from '../screenshot';
|
2016-12-19 20:17:23 +02:00
|
|
|
|
2016-11-16 19:18:09 +01:00
|
|
|
describe('list', () => {
|
|
|
|
|
beforeEach(() => browser.get('/list'));
|
|
|
|
|
|
|
|
|
|
it('should render a list container', () => {
|
2017-01-18 23:13:48 +01:00
|
|
|
expectToExist('md-list');
|
2017-02-16 15:43:29 -08:00
|
|
|
screenshot();
|
2016-11-16 19:18:09 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('should render list items inside the list container', () => {
|
2017-01-18 23:13:48 +01:00
|
|
|
expectToExist('md-list md-list-item');
|
2016-11-16 19:18:09 +01:00
|
|
|
});
|
|
|
|
|
});
|