queryParams
setup for Percy is not working
#711
Replies: 8 comments
-
Hey @emilie-t-ledn 👋
|
Beta Was this translation helpful? Give feedback.
-
👋 I've tried #663 without any success. FYI, I have the same issue with the I need to validate with our security team the reproducible repository and will hopefully submit it to you next Monday. Thanks |
Beta Was this translation helpful? Give feedback.
-
@itsjwala Here is the reproducible example https://github.com/emilie-t-ledn/percy-test |
Beta Was this translation helpful? Give feedback.
-
👋 Do you have an ETA when this bug should be fixed? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hey @emilie-t-ledn currently there is no ETA promised. we're yet to prioritize this issue. |
Beta Was this translation helpful? Give feedback.
-
Hey @emilie-t-ledn 👋 we've prioritized this internally, it's in our pipeline expect some response by end of next week. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks for the follow up! |
Beta Was this translation helpful? Give feedback.
-
Hey @emilie-t-ledn, We've investigated the issue, we've shipped performance related changes in As far as I can see the reproducible sample which you provided requires the browser to reload and thus this will not work now. You'll have to handle the state inside your component now, where if the URL updates you should remount your component - I hope this makes sense. |
Beta Was this translation helpful? Give feedback.
-
queryParams
setup for Percy is not passed to the story since v4.3.0.We noticed the issue while trying to upgrade to the latest versions from the following (working there as well)
All the following versions were tested with React 17.0.2
Initial version (working)
Latest versions that are still working:
It stopped working at those versions:
Environment
Details
Our goal of using a
queryParams
is to setup the story in specific ways for Percy snapshotting, i.e. opening Select dropdownIt is working when adding the params in Storybook in the browser
but not working in Percy anymore
Debug logs
Run at "@percy/cli": "1.17.0", "@percy/storybook": "4.3.4",
Also tried to add a big timeout without any success
Code to reproduce issue
The story setup:
Beta Was this translation helpful? Give feedback.
All reactions