Files
nebula.js/test/integration/sn.int.js
2019-11-26 09:03:18 +01:00

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!');
});
});