-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-snapshot not crawling nested detail pages #92
Comments
from readme
|
Not sure how that helps if I have dynamic ids with 50,000 todos. React-snapshot is also not able to see the links. |
This sounds like a bug. Provide reproducible example. |
@stereobooster Thank you for responding. I apologize for the confusion. React-snapshot is not able to see the links because they are dynamic. They are only added to the page when the backend returns a list of todos. The reason it is not seen is because my backend server blocks any request from unknown domains so the fake browser that react-snapshot uses will not get a list of todos. |
|
@AaronCCWong I know I'm late for the party but had similar issue for the last three days and boy haven't I tried out everything. Turns out the code looks for either with href or <iframe> with src attribute. My case, I didn't have either, just had a button. It took only 15 minutes or less going through the react-snapshot code-base to find out why it couldn't crawl through my dynamically generated pages. This was after 3 gruesome days of trying to find out why my build left all dynamically generated pages. |
I have routes of the form
and I have noticed that react snapshot does not create an html page for
/todos/:id
. Is there anyway to fix this aside from adding intopackage.json
the explicit paths/todos/1
and/todos/2
?The text was updated successfully, but these errors were encountered: