From 04a5e154352436a61d5b3a0186e2d87b212d3449 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Fri, 3 Jul 2026 02:31:39 +0900 Subject: [PATCH] test: increase wait time for WebAssembly runtime loading Added explicit waits after page navigation and reload to ensure WebAssembly runtime fully loads before content validation. --- tests/e2e/blog-validation.spec.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/e2e/blog-validation.spec.ts b/tests/e2e/blog-validation.spec.ts index 096eaf4..4d08560 100644 --- a/tests/e2e/blog-validation.spec.ts +++ b/tests/e2e/blog-validation.spec.ts @@ -28,6 +28,14 @@ test('Blog Management Full Flow - Real Domain Validation', async ({ page }) => { console.log('\n=== 3단계: 블로그 관리 페이지 이동 ==='); await page.goto(`${baseUrl}/admin/blog`, { waitUntil: 'networkidle', timeout: 15000 }); + // WebAssembly 런타임 로드 대기 + console.log('⏳ WebAssembly 런타임 로드 대기...'); + await page.waitForTimeout(3000); + + // 페이지 재로드 후 콘텐츠 확인 + await page.reload({ waitUntil: 'networkidle', timeout: 15000 }); + await page.waitForTimeout(2000); + const blogPageUrl = page.url(); console.log('✓ 블로그 페이지 URL:', blogPageUrl);