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