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