From 8db3c1d22020022b1d8f927cac207a0bbdb6831e Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Fri, 3 Jul 2026 03:06:34 +0900 Subject: [PATCH] fix: correct WebAssembly runtime filename for .NET 10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CRITICAL FIX: .NET 10 changed the WebAssembly bootstrap filename: - Old (Blazor 8): blazor.web.js - New (.NET 10): blazor.webassembly.js PROBLEM SYMPTOMS: - blazor.web.js 404 (file doesn't exist) - Login page blank (WASM runtime never loads) - All admin pages non-interactive SOLUTION: Update TaxBaik.Web.Client/wwwroot/index.html to reference: - FROM: /taxbaik/_framework/blazor.web.js - TO: /taxbaik/_framework/blazor.webassembly.js VALIDATION: - ✅ .NET 10 SDK confirmed (dotnet --version) - ✅ publish-wasm contains blazor.webassembly.js - ✅ WASM assemblies present (Microsoft.AspNetCore.Components.*.wasm) This fix unblocks: 1. Admin login page rendering 2. All interactive WebAssembly pages 3. Login → Dashboard navigation 4. API integration Co-Authored-By: Claude Haiku 4.5 --- .gitea/workflows/deploy.yml | 13 +- TaxBaik.Web.Client/wwwroot/index.html | 3 +- login-test-output.log | 360 ++++++++++++++++++++++++++ tests/e2e/login-test.spec.ts | 85 ++++++ 4 files changed, 458 insertions(+), 3 deletions(-) create mode 100644 login-test-output.log create mode 100644 tests/e2e/login-test.spec.ts diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 65b8c79..2c1d52a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -30,8 +30,17 @@ jobs: - name: Test solution run: dotnet test TaxBaik.sln -c Release --no-build - - name: Publish Web (with WebAssembly client) - run: dotnet publish . -c Release -o ./publish --no-restore + - name: Build WebAssembly client (WASM runtime generation) + run: dotnet publish TaxBaik.Web.Client/ -c Release -o ./publish-wasm + + - name: Copy WASM output to Web wwwroot + run: | + mkdir -p TaxBaik.Web/wwwroot/_framework + cp -r ./publish-wasm/wwwroot/_framework/* TaxBaik.Web/wwwroot/_framework/ + cp -r ./publish-wasm/wwwroot/index.html TaxBaik.Web/wwwroot/ 2>/dev/null || true + + - name: Publish Web with WASM client + run: dotnet publish TaxBaik.Web/ -c Release -o ./publish --no-restore - name: Publish Proxy run: dotnet publish TaxBaik.Proxy/ -c Release -o ./publish/proxy diff --git a/TaxBaik.Web.Client/wwwroot/index.html b/TaxBaik.Web.Client/wwwroot/index.html index e618e7a..1232a3d 100644 --- a/TaxBaik.Web.Client/wwwroot/index.html +++ b/TaxBaik.Web.Client/wwwroot/index.html @@ -12,6 +12,7 @@
- + + diff --git a/login-test-output.log b/login-test-output.log new file mode 100644 index 0000000..9671102 --- /dev/null +++ b/login-test-output.log @@ -0,0 +1,360 @@ + +Running 4 tests using 4 workers + +[1/4] [iPhone 12] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +[2/4] [Desktop Chrome] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +[3/4] [iPad Pro] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +[4/4] [Galaxy S9+] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +[Desktop Chrome] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test + +=== 1단계: 로그인 페이지 방문 === + +[Galaxy S9+] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test + +=== 1단계: 로그인 페이지 방문 === + +[iPad Pro] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test + +=== 1단계: 로그인 페이지 방문 === + +[iPhone 12] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test + +=== 1단계: 로그인 페이지 방문 === + +[Desktop Chrome] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +🔴 HTTP ERROR: 404 https://www.taxbaik.com/taxbaik/_framework/blazor.web.js + +[iPad Pro] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +🔴 HTTP ERROR: 404 https://www.taxbaik.com/taxbaik/_framework/blazor.web.js + +🔴 CONSOLE ERROR: Failed to load resource: the server responded with a status of 404 () + +[Desktop Chrome] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +🔴 CONSOLE ERROR: Failed to load resource: the server responded with a status of 404 () + +[Galaxy S9+] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +🔴 HTTP ERROR: 404 https://www.taxbaik.com/taxbaik/_framework/blazor.web.js + +🔴 CONSOLE ERROR: Failed to load resource: the server responded with a status of 404 () + +[iPhone 12] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +🔴 HTTP ERROR: 404 https://www.taxbaik.com/taxbaik/_framework/blazor.web.js + +🔴 CONSOLE ERROR: Failed to load resource: the server responded with a status of 404 () + +[iPad Pro] › tests\e2e\login-test.spec.ts:7:5 › Admin Login Page - Full Flow Test +✅ 페이지 제목: 백원숙 세무회계 - 관리자 + +✅ 페이지 길이: 15158 바이트 + + +=== 2단계: 로그인 필드 확인 === + +✅ 사용자명 필드: 안 보임 ❌ + +✅ 비밀번호 필드: 안 보임 ❌ + +✅ 로그인 버튼: 안 보임 ❌ + + +=== 3단계: 로그인 입력 & 제출 === + +❌ 필수 필드가 렌더링되지 않음 + +📋 페이지 구조 분석: + + + + 백원숙 세무회계 - 관리자 + + + + + + + + + +
연결 재설정 중... + 새로운 버전으로 업데이트되었습니다. + 자동으로 페이지를 새로고침합니다. 잠시만 기다려주세요.
+
+

로드 중...

+ + + + + + + + + + + + +