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