mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-17 13:40:36 +03:00
24 lines
583 B
TypeScript
24 lines
583 B
TypeScript
import { playwrightRollup, expectSuccess } from '@~local/playwright-tooling';
|
|
import { test } from '@playwright/test';
|
|
|
|
playwrightRollup();
|
|
|
|
test.describe('TrinsicObserver', () => {
|
|
test('with IntersectionObserver', async ({ page }) => {
|
|
await expectSuccess(page);
|
|
});
|
|
|
|
test('with ResizeObserver', async ({ page }) => {
|
|
await page.click('#ioPolyfill');
|
|
|
|
await expectSuccess(page);
|
|
});
|
|
|
|
test('with ResizeObserver polyfill', async ({ page }) => {
|
|
await page.click('#ioPolyfill');
|
|
await page.click('#roPolyfill');
|
|
|
|
await expectSuccess(page);
|
|
});
|
|
});
|