test: increase wait time for WebAssembly runtime loading
TaxBaik CI/CD / build-and-deploy (push) Failing after 5m6s
TaxBaik CI/CD / build-and-deploy (push) Failing after 5m6s
Added explicit waits after page navigation and reload to ensure WebAssembly runtime fully loads before content validation.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user