[ZEPPELIN-6681] Cover login route authentication and failure recovery with E2E tests #5605
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.62) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 253 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.331
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
1 comments
"Review active on #5605"
general
weight: 0.35
jongyoul
What is this PR for?
Extend login-route E2E coverage for authentication handoff and failure recovery.
Successful login now verifies the login response, the browser-visible home page, a session cookie, and a ticket request using the same browser session. The suite also checks that an already-authenticated visitor is redirected home without another login submission.
Invalid-credential, network-failure, and HTTP 503 scenarios verify that the form exits its loading state, remains editable, and accepts a successful retry. Only the network and 503 failures are injected; successful authentication always uses the live server.
What type of PR is it?
Improvement
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-6681
How should this be tested?
Start a Shiro-enabled Zeppelin backend at
http://localhost:8080. Its Shiro configuration must include an account with theadminrole. Ensureconf/shiro.inimatches the server configuration, or setZEPPELIN_E2E_SHIRO_INIto that file.With frontend dependencies installed, run from
zeppelin-web-angular:For all configured browsers:
Check that:
Run against a Shiro-enabled server; skipped scenarios on an anonymous server do not verify authentication behavior.
Questions:
Does the license files need to update? No.
Is there breaking changes for older versions? No.
Does this needs documentation? No.