mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-16 17:00:36 +03:00
16 lines
363 B
TypeScript
16 lines
363 B
TypeScript
import 'jest-playwright-preset';
|
|
import 'expect-playwright';
|
|
import url from './.build/build.html';
|
|
|
|
describe('DOMObserver', () => {
|
|
beforeEach(async () => {
|
|
await jestPlaywright.resetPage();
|
|
await page.goto(url);
|
|
});
|
|
|
|
test('test', async () => {
|
|
await page.click('#start');
|
|
await expect(page).toHaveSelector('#testResult.passed');
|
|
});
|
|
});
|