-
-
Notifications
You must be signed in to change notification settings - Fork 648
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
Regression tests for double suspense/double resource fetch #3103
Regression tests for double suspense/double resource fetch #3103
Commits on Oct 25, 2024
-
test: first cut of the instrumented suspense_tests
- Based on initial concepts developed for reproducing leptos-rs#2937 and others, streamlined and instrumented for e2e testing and refined for inclusion as a standalone module to be plugged into some other App.
Configuration menu - View commit details
-
Copy full SHA for f16d729 - Browse repository at this point
Copy the full SHA f16d729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5274c39 - Browse repository at this point
Copy the full SHA 5274c39View commit details -
Actually make it work properly
- Instead of using examples, just feed it the table because examples will rerun the whole scenario from scratch, which isn't what we are trying to test here. - Provide a basic example with item listing to show how this will work.
Configuration menu - View commit details
-
Copy full SHA for fe83d4e - Browse repository at this point
Copy the full SHA fe83d4eView commit details -
Use ticketing system to disambiguate CSR calls
- Keep all SSR calls on ticket 0 as a means to disambiguate them from CSR calls. For the mean time the focus of tests isn't on that behavior but this may be modified when suitable.
Configuration menu - View commit details
-
Copy full SHA for df0c620 - Browse repository at this point
Copy the full SHA df0c620View commit details -
- Given the new understanding, the scenerios all being the baseline tests they are now moved into one file. - Have the checks against all calls at once for better diff output, and reword the new scenerios into more idomatic gherkin. - Streamline the steps and provide additional ones that will help with feature definitions.
Configuration menu - View commit details
-
Copy full SHA for 071ff01 - Browse repository at this point
Copy the full SHA 071ff01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 558e507 - Browse repository at this point
Copy the full SHA 558e507View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6f1d5 - Browse repository at this point
Copy the full SHA 7c6f1d5View commit details -
Be able to reset CSR counters everywhere
- Done by providing a button directly on the top level component with the navigation footer. This will be useful for the next test.
Configuration menu - View commit details
-
Copy full SHA for 777932d - Browse repository at this point
Copy the full SHA 777932dView commit details -
Test showing difference between hydrate and CSR
- Specifically, under hydrated load, resources that shouldn't need refetching gets refetched, while CSR does not show this issue.
Configuration menu - View commit details
-
Copy full SHA for d3c3b22 - Browse repository at this point
Copy the full SHA d3c3b22View commit details