Skip to content

fix(e2e): Disable testing token for flaky test#5672

Closed
panteliselef wants to merge 2 commits into
mainfrom
elef/fix-flaky-resiliency-e2e
Closed

fix(e2e): Disable testing token for flaky test#5672
panteliselef wants to merge 2 commits into
mainfrom
elef/fix-flaky-resiliency-e2e

Conversation

@panteliselef

@panteliselef panteliselef commented Apr 19, 2025

Copy link
Copy Markdown
Contributor

Description

The @clerk/testing package is overriding .route() rules for our tests cases inconsistently. Example:
our tests either abort or fulfill with a dummy response, but the @clerk/testing may fulfill with the actual response due to a race condition.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@panteliselef panteliselef self-assigned this Apr 19, 2025
@vercel

vercel Bot commented Apr 19, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ⬜️ Skipped (Inspect) Apr 19, 2025 5:15pm

@changeset-bot

changeset-bot Bot commented Apr 19, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c6d91b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@panteliselef panteliselef requested review from a team and jacekradko April 19, 2025 17:19
@jacekradko

Copy link
Copy Markdown
Member

Nice find @panteliselef 👏🏼 . It might be a good idea to surface some debug log whenever we intercept routes behind the scenes to at least make it a little more transparent about what's going on

@panteliselef

Copy link
Copy Markdown
Contributor Author

handled by #5673

@panteliselef panteliselef deleted the elef/fix-flaky-resiliency-e2e branch June 25, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants