Apply patch [skip ci]
This commit is contained in:
parent
286d560551
commit
4beaac24f3
@ -79,7 +79,7 @@ export async function useE2EUser(page: Page, userKey: string) {
|
|||||||
tenant: "e2e-tenant-1",
|
tenant: "e2e-tenant-1",
|
||||||
};
|
};
|
||||||
const userId = userIdMap[userKey] ?? userKey;
|
const userId = userIdMap[userKey] ?? userKey;
|
||||||
await page.addInitScript(({ id }) => {
|
await page.addInitScript(({ id }: { id: string }) => {
|
||||||
(window as { __E2E_SKIP_ENCRYPTION__?: boolean }).__E2E_SKIP_ENCRYPTION__ =
|
(window as { __E2E_SKIP_ENCRYPTION__?: boolean }).__E2E_SKIP_ENCRYPTION__ =
|
||||||
true;
|
true;
|
||||||
const skipKey = `realestate_app_skip_user_${id}`;
|
const skipKey = `realestate_app_skip_user_${id}`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user