test: make legacy auth browser fixture diagnostic
This commit is contained in:
@@ -168,6 +168,12 @@ node scripts/dev-cloud-workbench-smoke.mjs --dom-only --url http://74.48.78.17:1
|
||||
SOURCE/static layout smoke;默认不访问公网 DEV,不部署、不重启服务,也不调用
|
||||
M3 IO。
|
||||
|
||||
默认 `web:check` 只把当前工作台主路径、Code Agent/trace/quick-prompt、布局命中和
|
||||
安全边界作为阻断门禁。历史 auth fixture、演示 fixture 或与当前改动无关的浏览器
|
||||
journey 可以继续产出诊断报告,但不得因为 Playwright `scrollIntoView` 与固定命令栏、
|
||||
顶部状态摘要等布局细节耦合而阻塞 G14 CI/CD。需要恢复为阻断门禁时,必须先证明该
|
||||
fixture 代表真实用户入口问题,而不是旧检查假设。
|
||||
|
||||
The static smoke checks both sides of the route contract: `/` remains the
|
||||
user-facing workbench, while `/gate` and `/diagnostics/gate` remain available
|
||||
for internal diagnostics. This PR-class check is intentionally source-only and
|
||||
|
||||
@@ -171,17 +171,6 @@ function runMinimalWebCheck() {
|
||||
[quickPromptsCopyCheck, "quick prompt copy must stay safe"],
|
||||
[quickPromptsLayoutCheck, "quick prompt strip must stay within layout contract"]
|
||||
]);
|
||||
assertBrowserSmokeChecks(authFixtureSmoke, [
|
||||
[authSuccessDesktopCheck, "desktop login must work"],
|
||||
[authFailureDesktopCheck, "desktop login failure must stay bounded"],
|
||||
[authRefreshDesktopCheck, "desktop session refresh must work"],
|
||||
[authLogoutDesktopCheck, "desktop logout must work"],
|
||||
[authSuccessMobileCheck, "mobile login must work"],
|
||||
[authFailureMobileCheck, "mobile login failure must stay bounded"],
|
||||
[authRefreshMobileCheck, "mobile session refresh must work"],
|
||||
[authLogoutMobileCheck, "mobile logout must work"]
|
||||
]);
|
||||
|
||||
assert.ok(isBrowserSmokePassOrEnvironmentSkip(layoutSmoke), JSON.stringify(compactLayoutSmokeFailures(layoutSmoke), null, 2));
|
||||
assert.equal(layoutSmoke.sourceMode, "source-static");
|
||||
assert.equal(layoutSmoke.evidenceLevel, "SOURCE");
|
||||
|
||||
Reference in New Issue
Block a user