Skip to content

test: cover OIDC callback login persistence - #259

Merged
kklldog merged 1 commit into
masterfrom
kklldog-test-oidc-callback
Sep 19, 2026
Merged

kklldog merged 1 commit into
masterfrom
kklldog-test-oidc-callback

Conversation

@kklldog

@kklldog kklldog commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a component regression test for the OIDC callback behavior fixed in #258. The test verifies that a successful callback dispatches login/changeLoginStatus with the server response before redirecting to the home page, preventing the token persistence regression reported in #257.

Updates the Umi 4 frontend unit-test setup to use Jest with @umijs/test, since the previous max test command is no longer registered.

User-facing changes

None. This adds regression coverage and restores the frontend unit-test command.

Release notes

Maintainers: apply the most appropriate release label before merging. Use
skip-release-notes only when this pull request should not appear in a release.

  • breaking-change
  • enhancement or feature
  • bug or fix
  • performance
  • security
  • dependencies, build, or ci
  • documentation

Recommended label: skip-release-notes.

Verification

  • npm test -- --runInBand (4 tests passed)
  • npm run tsc
  • ESLint on the changed Jest configuration and OIDC files

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kklldog
kklldog merged commit f46d41e into master Sep 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant