mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-13 04:22:26 +03:00
15 lines
324 B
TypeScript
15 lines
324 B
TypeScript
import 'jest-playwright-preset';
|
|
import 'expect-playwright';
|
|
import url from './.build/build.html';
|
|
|
|
describe('DOMObserver', () => {
|
|
beforeAll(async () => {
|
|
await page.goto(url);
|
|
});
|
|
|
|
test('test', async () => {
|
|
await page.click('#start');
|
|
await expect(page).toHaveSelector('#testResult.passed');
|
|
});
|
|
});
|