createRoutesStub doesn't appear to support useSearchParams #12809
Unanswered
charliematters
asked this question in
Q&A
Replies: 2 comments
-
Same issue locally. Unable to see changes to the URL via Playwright page.url(). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm running into the same issue and hope we get an answer on this. I'm open to the fact that I just may be constructing my tests wrong, I'm hoping to learn what the expected "happy path" is. I am using the createRoutesStub function, and my user click event is triggering a function that updates search params via the "useSearchParams" function |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking at upgrading to v7, and I've tried to use the createRoutesStub as a replacement for our current method of standing up a simple browser router, but all of the tests that update the search params no longer pass, as
window.location.search
isn't getting updated. Is this by design?Beta Was this translation helpful? Give feedback.
All reactions