mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-15 04:40:02 +01:00
14 lines
424 B
JavaScript
14 lines
424 B
JavaScript
const timeout = process.env.SLOWMO ? 30000 : 10000;
|
|
const fs = require('fs');
|
|
beforeAll(async () => {
|
|
path = fs.realpathSync('file://../examples/index.html');
|
|
await page.goto('file://' + path, {waitUntil: 'domcontentloaded'});
|
|
});
|
|
|
|
describe('Title of the page', () => {
|
|
test('Title of the page', async () => {
|
|
const title = await page.title();
|
|
expect(title).toBe('Image Sequencer');
|
|
|
|
}, timeout);
|
|
}); |