flaky e2e tests?
question: is it only my - or the e2e tests are flaky? Here I've got 2 test runs:
- https://cloud.nx.app/runs/C77Xm9I0P5 (2 suites fail)
- https://cloud.nx.app/runs/ZXbYPUgPAK (1 suite fail)
but there was literally no code change...
7 Replies
flat-fuchsia•7mo ago
yes some e2e tests are unfortunately not that stable
any help there is much appreciated
sensitive-blueOP•7mo ago
got it! right now I'm fighting to get through this:
by any chance, do you know what's going on with this one? @Manuel Schiller
(
nx run tanstack-start-e2e-server-functions:test:e2e
)flat-fuchsia•7mo ago
have a look at the test impl. it uses playwright's
response
event to parse that
I guess we need to set up the request listener before the actual click
let me quickly do thisflat-fuchsia•7mo ago
GitHub
tests: stabilize e2e test by schiller-manuel · Pull Request #3528 ·...
setup event handler before click to make sure we don't miss the event
sensitive-blueOP•7mo ago
wow, that was fast ❤️
sensitive-blueOP•7mo ago
thanks @Manuel Schiller, I'll try to redo my https://github.com/TanStack/router/pull/3526 after your PR gets merged
GitHub
preload type fix (naive type change) by ducin · Pull Request #3526 ...
This PR is meant to bring the preload options to reflect the possible values listed in both defaultPreload (below) and the docs (https://tanstack.com/router/v1/docs/framework/react/guide/preloading...
flat-fuchsia•7mo ago
merged