1 import { test, expect } from './shared.js';
3 test.describe('Status Page', () => {
6 test.beforeAll(async ({ browser }) => {
7 page = await browser.newPage();
8 await page.goto('/status.html', { waitUntil: 'networkidle' });
11 test.afterAll(async () => {
15 test('should have software version', async () => {
16 await page.waitForFunction(
17 () => document.body.textContent.match(/Software version.*\d+\.\d+/),
21 const status_details = await page.evaluate(
22 () => document.body.textContent.match(/Software version.*\d+\.\d+/)
25 expect(status_details[0]).not.toContain('undefined');