mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-14 09:31:02 -05:00
[PR #2819] test: add unit and e2e tests for invite link encoding fix #9955
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2819
Author: @jbelke
Created: 4/10/2026
Status: 🔄 Open
Base:
dev← Head:test-invite-email-encoding📝 Commits (1)
4b37d41test: add unit and e2e tests for invite link encoding fix📊 Changes
11 files changed (+1544 additions, -19 deletions)
View changed files
➕
cypress.config.ts(+15 -0)➕
cypress/e2e/invite-link-encoding.cy.ts(+121 -0)➕
cypress/support/e2e.ts(+19 -0)📝
package-lock.json(+761 -14)📝
package.json(+8 -2)➕
test/invite-link-encoding.test.ts(+429 -0)➕
test/invite-link-integration.test.ts(+164 -0)📝
tsconfig.enterprise.json(+1 -1)📝
tsconfig.oss.json(+1 -1)📝
tsconfig.saas.json(+1 -1)➕
vitest.config.ts(+24 -0)📄 Description
Summary
Adds unit and e2e test coverage for the invite link email encoding fix in #2806. Split out from that PR per review request so the fix can be merged independently while these tests are evaluated.
@in email; token parsing; redirect URL construction for login/signup; source-code guards against reintroducingencodeURIComponentininviteUser.ts/InviteStatusCard.tsx; RFC 3986 reference tests@and backward-compat with%40; signup/login redirect flows; email pre-fill from invite redirectTest plan
npm run test(vitest) passes🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.