|
|
@@ -2,6 +2,8 @@ const { test, expect } = require('@playwright/test');
|
|
|
const { baseUrls } = require('./helpers/env');
|
|
|
const { modernStartButton } = require('./helpers/ui');
|
|
|
|
|
|
+const defaultTagline = 'No Flash, No Java, No Websockets, No Bullsh*t';
|
|
|
+
|
|
|
test.describe('Runtime mode smoke coverage', () => {
|
|
|
test('standalone exposes UI and local backend endpoints', async ({ page, request }) => {
|
|
|
const root = await request.get(`${baseUrls.standalone}/`);
|
|
|
@@ -18,6 +20,7 @@ test.describe('Runtime mode smoke coverage', () => {
|
|
|
|
|
|
await page.goto(`${baseUrls.standalone}/index-modern.html`);
|
|
|
await expect(modernStartButton(page)).toBeVisible();
|
|
|
+ await expect(page.locator('main > p.tagline')).toHaveText(defaultTagline);
|
|
|
});
|
|
|
|
|
|
test('backend exposes only local backend contract endpoints', async ({ request }) => {
|