Skip to content

feat: Test infrastructure for v6#760

Open
aks96 wants to merge 10 commits intomasterfrom
test-infrastructure-v6
Open

feat: Test infrastructure for v6#760
aks96 wants to merge 10 commits intomasterfrom
test-infrastructure-v6

Conversation

@aks96
Copy link
Contributor

@aks96 aks96 commented Jan 9, 2026

Description

This repo has open PR for node.js 20+ and ESM only which all existing test passing. The next phase for OIDC migration v4 to v6. Before changing runtime behaviour this PR has setup test infrastructure for next steps.

Changes

  • Refactors and centralizes OIDC-related test helpers and mocks
  • Reduces coupling between tests and OIDC v4–specific implementation details
  • Removes assumptions tied to legacy CommonJS behavior
  • Simplifies token, issuer, and client stubbing to be compatible with upcoming OIDC v6 changes
    Does not change any behaviour of repo

aks96 added 9 commits January 6, 2026 21:59
… test

Use page.setCookie with expires: 0 instead of page.deleteCookie
for more reliable cookie deletion in CI environments. This
approach is more consistent across different Puppeteer environments.

Fixes the failing 'should login silently if there is an active session on the IDP' test
in GitHub Actions while maintaining local test compatibility.
@aks96 aks96 requested a review from a team as a code owner January 9, 2026 08:21
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