Apply remaining changes

Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-10-21 22:28:29 +00:00 • committed by GitHub
parent 91e5d71c9d
commit 3d019644ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,16 @@
const { test, expect } = require('@playwright/test');
const { baseUrls } = require('./helpers/env');
test.describe('Classic design with mounted server list', () => {
test('frontend classic page loads the mounted server-list.json', async ({ page, request }) => {
const html = await (await request.get(`${baseUrls.frontend}/index-classic.html`)).text();
expect(html).toMatch(/var SPEEDTEST_SERVERS = "server-list\.json";/);
const listRequest = page.waitForRequest((req) => req.url().endsWith('/server-list.json'));
await page.goto(`${baseUrls.frontend}/index-classic.html`);
await listRequest;
// Not treated as a standalone install: the server selector is not hidden.
await expect(page.locator('#serverArea')).not.toHaveCSS('display', 'none');
});
});