mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
19 lines
489 B
TypeScript
19 lines
489 B
TypeScript
import { browser, element, by } from 'protractor';
|
|
import { waitTime, handleErrorMessages } from './utils';
|
|
|
|
describe('virtual-scroll', () => {
|
|
afterEach(() => {
|
|
return handleErrorMessages();
|
|
});
|
|
beforeEach(async () => {
|
|
await browser.get('/virtual-scroll');
|
|
await waitTime(30);
|
|
});
|
|
|
|
it('should open virtual-scroll', () => {
|
|
const virtualElements = element.all(by.css('ion-virtual-scroll > *'));
|
|
expect(virtualElements.count()).toBeGreaterThan(0);
|
|
});
|
|
|
|
});
|