CI e2e 수정
CI / test (push) Failing after 5m35s
CI / e2e (push) Has been skipped
CI / pr_and_merge (push) Has been skipped

This commit is contained in:
2025-12-14 20:02:55 +09:00
parent 6ff6048f95
commit 556ee5c36b
5 changed files with 9 additions and 0 deletions
+2
View File
@@ -820,6 +820,7 @@ function EditorPageInner() {
useEffect(() => { useEffect(() => {
if (!authChecked) return; if (!authChecked) return;
if (typeof window === "undefined") return; if (typeof window === "undefined") return;
if ((window as any).__PB_DISABLE_AUTOSAVE) return;
const slug = projectConfig?.slug?.trim(); const slug = projectConfig?.slug?.trim();
if (!slug) return; if (!slug) return;
@@ -861,6 +862,7 @@ function EditorPageInner() {
useEffect(() => { useEffect(() => {
if (typeof window === "undefined") return; if (typeof window === "undefined") return;
if ((window as any).__PB_DISABLE_AUTOSAVE) return;
const slug = projectConfig?.slug?.trim(); const slug = projectConfig?.slug?.trim();
if (!slug) return; if (!slug) return;
+1
View File
@@ -42,6 +42,7 @@ export default function PreviewPage() {
useEffect(() => { useEffect(() => {
if (typeof window === "undefined") return; if (typeof window === "undefined") return;
if ((window as any).__PB_DISABLE_AUTOSAVE) return;
const configSlugRaw = (projectConfig as any)?.slug?.trim?.(); const configSlugRaw = (projectConfig as any)?.slug?.trim?.();
const configSlug = const configSlug =
+2
View File
@@ -10,6 +10,8 @@ test.beforeEach(async ({ page }) => {
window.localStorage.clear(); window.localStorage.clear();
} catch { } catch {
} }
(window as any).__PB_DISABLE_AUTOSAVE = true;
}); });
await page.route("**/api/auth/me", async (route) => { await page.route("**/api/auth/me", async (route) => {
@@ -11,6 +11,8 @@ test.beforeEach(async ({ page }) => {
window.localStorage.clear(); window.localStorage.clear();
} catch { } catch {
} }
(window as any).__PB_DISABLE_AUTOSAVE = true;
}); });
await page.route("**/api/auth/me", async (route) => { await page.route("**/api/auth/me", async (route) => {
+2
View File
@@ -27,6 +27,8 @@ test.beforeEach(async ({ page }) => {
} catch { } catch {
// localStorage 접근 실패는 테스트 진행에 치명적이지 않으므로 조용히 무시한다. // localStorage 접근 실패는 테스트 진행에 치명적이지 않으므로 조용히 무시한다.
} }
(window as any).__PB_DISABLE_AUTOSAVE = true;
}); });
await page.route("**/api/auth/me", async (route) => { await page.route("**/api/auth/me", async (route) => {