0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Nico Lynzaad
f0a60cbb71
test(e2e): use locally hosted api over an external provider (#4725)
A lot of our e2e tests are querying external endpoints like
[typicode.com](https://jsonplaceholder.typicode.com) or
[example.com](https://example.com)

This is not ideal as it makes the e2e tests beholden to external factors
for example unavailability or rate limiting of these endpoints.

This PR addresses this by starting and stopping a local dummy server for
each test that needs to query external endpoints and mocks the results.
The setup and teardown have been implemented on each test package
individually so as to allow custom requirements where needed.

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-07-22 00:15:28 +02:00
Sean Cassiere
950b80fe66
test(e2e): add rsbuild based sandboxed to the end-to-end testing suite (#2965)
* test(e2e): add rspack basic-file-based sandbox

* test(e2e): add rspack basic-virtual-named-export-config-file-based sandbox

* chore: checkin lockfile

* chore(e2e): switch to referencing the workspace versions

* chore(examples): upgrade rsbuild dependencies to latest

* chore(e2e): remove playwright test results from git history

* chore(root): fix lockfile

* chore(e2e): log out the port being mapped
2024-12-10 09:29:11 +13:00