blob: b4131a853de53117dae1ae2b3e4c32921e653d9a [file]
import { expect } from 'chai';
import { loadCachedTestBed, takeScreenshot, TestBed } from '../../../puppeteer-tests/util';
describe('sort-sk', () => {
let testBed: TestBed;
before(async () => {
testBed = await loadCachedTestBed();
});
beforeEach(async () => {
await testBed.page.goto(testBed.baseUrl);
await testBed.page.setViewport({ width: 400, height: 900 });
});
it('should render the demo page', async () => {
// Smoke test.
expect(await testBed.page.$$('sort-sk')).to.have.length(5);
});
describe('screenshots', () => {
it('shows the default view', async () => {
await takeScreenshot(testBed.page, 'infra-sk', 'sort-sk');
});
});
});