mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-24 02:20:37 +03:00
16 lines
484 B
TypeScript
16 lines
484 B
TypeScript
import html from './__build__/build.html';
|
|
|
|
describe('Environment', () => {
|
|
beforeAll(async () => {
|
|
await page.setContent(html, { waitUntil: 'domcontentloaded' });
|
|
});
|
|
|
|
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');
|
|
});
|
|
});
|