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