1 import assert from 'assert';
3 describe('Status Page', function () {
6 before(async function () {
7 page = await browser.newPage();
8 await page.goto('http://localhost:9999/status.html', { waitUntil: 'networkidle0' });
11 after(async function () {
15 it('should have software version', async function () {
16 let status_details = await page.$eval(
18 el => el.textContent.match(/Software version.*\d+\.\d+/)
21 assert.ok(!status_details[0].includes('undefined'));