mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
14 lines
406 B
JavaScript
14 lines
406 B
JavaScript
const path = require('path');
|
|
|
|
describe('sn', () => {
|
|
const content = '.nucleus-content__body';
|
|
it('should say hello', async () => {
|
|
await page.goto(`file://${path.resolve(__dirname, '../__serve__/index.html')}`);
|
|
await page.waitForSelector(content, {
|
|
timeout: 5000,
|
|
});
|
|
const text = await page.$eval(content, el => el.textContent);
|
|
expect(text).to.equal('Hello!');
|
|
});
|
|
});
|