mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-17 19:10:40 +03:00
16 lines
375 B
TypeScript
16 lines
375 B
TypeScript
import expectPuppeteer from 'expect-puppeteer';
|
|
import url from './.build/build.html';
|
|
|
|
describe('Environment', () => {
|
|
beforeAll(async () => {
|
|
await page.goto(url);
|
|
});
|
|
|
|
it('test', async () => {
|
|
await expectPuppeteer(page).toClick('#start');
|
|
await expectPuppeteer(page).toMatchElement('#testResult.passed', {
|
|
timeout: 60000,
|
|
});
|
|
}, 60000);
|
|
});
|