mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2026-05-30 16:00:18 -04:00
13 lines
422 B
JavaScript
13 lines
422 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(`http://localhost:8085/render/app/${app}`);
|
|
await page.waitForSelector(content, {
|
|
timeout: 5000,
|
|
});
|
|
const text = await page.$eval(content, el => el.textContent);
|
|
expect(text).to.equal('Hello!');
|
|
});
|
|
});
|