test(web): align auth e2e with console home#38538
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #38538 +/- ##
==========================================
- Coverage 85.39% 85.34% -0.06%
==========================================
Files 5170 5013 -157
Lines 270183 265787 -4396
Branches 51604 50528 -1076
==========================================
- Hits 230719 226832 -3887
+ Misses 35016 34507 -509
Partials 4448 4448
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
hyoban
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/) instead of forcing/appsthroughredirect_url./appsas the Studio/apps-console surface and add a separate reusablewaitForConsoleHomehelper for the default console entry./auth/refresh?redirect_url=/, and lands back on console home.NormalFormdefault post-login fallback to/and basePath-aware/auth/refreshbehavior.Verification
pnpm -C web test app/signin/__tests__/normal-form.spec.tsx app/auth/refresh/__tests__/route.spec.tspnpm -C e2e type-checkpnpm -C e2e e2e:middleware:upE2E_START_AGENT_BACKEND=0 pnpm -C e2e e2e -- --tags '@smoke and not @fresh and not @skip'E2E_START_AGENT_BACKEND=0 pnpm -C e2e e2e -- --name 'Refresh the console session during server-side navigation'vpr lint --fix --quietgit diff --check