www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -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 });
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue