mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2026-05-25 19:00:22 -04:00
11 lines
387 B
JavaScript
11 lines
387 B
JavaScript
describe('sn', () => {
|
|
const selector = '.nebulajs-sn';
|
|
it('should render with translation', async () => {
|
|
await page.goto('http://localhost:8000/render/?fixture=./object/sn.fix.js&language=sv-SE');
|
|
|
|
await page.waitForSelector(selector, { visible: true });
|
|
const text = await page.$eval(selector, el => el.textContent);
|
|
expect(text).to.equal('Hej motor!');
|
|
});
|
|
});
|