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