fix web ui smoke and brand assets

This commit is contained in:
hectorzhao
2026-06-30 11:13:30 +08:00
parent 0dfb2988b2
commit 9920575bba
103 changed files with 6650 additions and 135 deletions
@@ -0,0 +1,43 @@
# Remote Web UI Test Report
Date: 2026-06-29T06:12:23.366Z
Base URL: https://100.90.90.91
Browser path: Browser plugin attempted first; fallback to local Chrome Playwright because in-app browser stopped at net::ERR_CERT_AUTHORITY_INVALID for the B HTTPS certificate.
Viewport: 1440x900
## Findings
- Admin menu is missing expected core entries: Missing: 号码库.
| Result | Check | Detail |
| --- | --- | --- |
| PASS | WEB-001 homepage renders login shell and captcha | title=LisgloSIPS - 聆界SIP管理平台 |
| PASS | WEB-001 access token is not present in URL before login | https://100.90.90.91/ |
| PASS | WEB-001 admin login enters dashboard | url=https://100.90.90.91/ |
| PASS | WEB-001 access token is not present in URL after login | https://100.90.90.91/ |
| PASS | WEB-001 refresh restores authenticated dashboard | hasDashboard=true |
| FAIL | WEB-005 admin sees all non-pending core menus | missing=号码库 |
| PASS | WEB-005 admin can switch available core pages without blank screen | failed=none |
| PASS | WEB-002 navigation does not show API unavailable state | pages=none |
| PASS | WEB-004 customer empty form stays on validation surface | modalBefore=true, modalAfter=true |
| PASS | WEB-001 logout button is visible | 退出 count=1 |
| PASS | WEB-001 logout returns to login and clears access token | tokenCleared=true |
| PASS | WEB-005 low-privilege menu is permission-pruned | visibleForbidden=none, labels=概概览 Dashboard/退出/刷新指标 |
| PASS | WEB-002 low-privilege dashboard does not show bulk 403 error state | hasApiError=false, hasNoPermission=false |
| PASS | WEB-006 HTTPS homepage returns HTML with hashed assets | status=200, assets=/assets/index-CBRZZA7t.js,/assets/index-B2uYBtS3.css |
| PASS | WEB-006 homepage does not reference access tokens or env files | bytes=422 |
| PASS | WEB console has no relevant error or warning entries | none |
| PASS | WEB network has no relevant failed requests | none |
## Screenshots
- Admin dashboard: D:\HuaweiMoveData\Users\hectorzhao\Documents\自建软交换\tests\reports\REMOTE_WEB_UI_20260629T061117Z_admin-dashboard.png
- Low-privilege nav: D:\HuaweiMoveData\Users\hectorzhao\Documents\自建软交换\tests\reports\REMOTE_WEB_UI_20260629T061117Z_low-nav.png
- Logout/login page: D:\HuaweiMoveData\Users\hectorzhao\Documents\自建软交换\tests\reports\REMOTE_WEB_UI_20260629T061117Z_logout.png
## Notes
- CAPTCHA was read from the page image data URL with explicit user permission for this test run.
- Initial unauthenticated /auth/refresh 401 console noise and navigation-cancelled net::ERR_ABORTED requests were excluded from console/network health because they are expected during login and rapid page switching.
- WEB-002 forced API 500/network-failure states and WEB-003 dedicated empty-data states were not injected against B to avoid disturbing the shared service.
- WEB-006 was checked read-only from the served homepage; no release switch or deployment mutation was performed.