Skip to content

Fix: [AEA-6568] - Unable to login with multiple tracker UI tabs open#2092

Open
deanflint-nhs wants to merge 8 commits intomainfrom
AEA-6568-bugfix-login-with-multiple-tabs
Open

Fix: [AEA-6568] - Unable to login with multiple tracker UI tabs open#2092
deanflint-nhs wants to merge 8 commits intomainfrom
AEA-6568-bugfix-login-with-multiple-tabs

Conversation

@deanflint-nhs
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

Details

[WIP] - Details to be added once fixed

Copilot AI review requested due to automatic review settings April 30, 2026 12:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread packages/cpt-ui/src/helpers/logout.tsx Outdated
Comment thread packages/cpt-ui/src/context/AccessProvider.tsx
Comment thread packages/cpt-ui/src/context/AccessProvider.tsx
deanflint-nhs and others added 2 commits May 6, 2026 14:03
Co-authored-by: Connor Avery <connor.avery2@nhs.net>
Co-authored-by: Connor Avery <connor.avery2@nhs.net>
})
})

it("redirects signed-in user from logout to root when logout redirect was already handled in this tab", async () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test doesn't mock or set the useRef value - I don't believe it's testing the new branch on the if statement for sign-in on another tab

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

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.

3 participants