Files
OverlayScrollbars/packages/overlayscrollbars/tests/puppeteer/Environment/index.test.ts
T
2020-09-10 12:16:21 +02:00

16 lines
438 B
TypeScript

import url from './.build/build.html';
describe('Environment', () => {
beforeAll(async () => {
await page.goto(url);
});
it('should be titled "Environment"', async () => {
await expect(page).toMatchElement('#a');
await expect(page).toMatchElement('#b');
await expect(page).toMatchElement('#c');
await expect(page).toMatchElement('#d');
await expect(page.title()).resolves.toMatch('Environment');
});
});