www in docker support

This commit is contained in:
MaddoScientisto 2026-04-22 18:41:37 +02:00
commit c227fce036
2145 changed files with 399596 additions and 58 deletions

View file

@ -2,11 +2,16 @@ const { test } = require('@playwright/test');
const {
AUTH_FILE,
ensureAuthDirectory,
LIVE_SITE_REQUIRE_AUTH,
performLiveLoginRequest
} = require('./live-site-test-utils');
test('authenticate against the live site', async ({ request }) => {
ensureAuthDirectory();
await performLiveLoginRequest(request);
if (LIVE_SITE_REQUIRE_AUTH) {
await performLiveLoginRequest(request);
}
await request.storageState({ path: AUTH_FILE });
});