Apply patch [skip ci]

This commit is contained in:
open-swe-dev-andrinoid[bot] 2026-01-20 19:54:53 +00:00
parent 286d560551
commit 4beaac24f3

View File

@ -79,7 +79,7 @@ export async function useE2EUser(page: Page, userKey: string) {
tenant: "e2e-tenant-1",
};
const userId = userIdMap[userKey] ?? userKey;
await page.addInitScript(({ id }) => {
await page.addInitScript(({ id }: { id: string }) => {
(window as { __E2E_SKIP_ENCRYPTION__?: boolean }).__E2E_SKIP_ENCRYPTION__ =
true;
const skipKey = `realestate_app_skip_user_${id}`;