mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2026-05-26 22:00:24 -04:00
13 lines
424 B
JavaScript
13 lines
424 B
JavaScript
describe('sn', () => {
|
|
const content = '.nebulajs-sn';
|
|
it('should say hello', async () => {
|
|
const app = encodeURIComponent(process.env.APP_ID || '/apps/ctrl00.qvf');
|
|
await page.goto(`${process.testServer.url}/render/app/${app}`);
|
|
|
|
await page.waitForSelector(content, { visible: true });
|
|
|
|
const text = await page.$eval(content, el => el.textContent);
|
|
expect(text).to.equal('Hello engine!');
|
|
});
|
|
});
|