feat(rstest): add playwright and Module Federation examples - #506
Conversation
- rstest/playwright: E2E testing a Rsbuild + React app with @rstest/playwright - rstest/module-federation-node: test a local CommonJS Module Federation remote built by Rslib, no HTTP server - rstest/module-federation-browser: test a federated React component in Rstest Browser Mode, remote served by globalSetup - README: add Rstest to the project list
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
💡 Codex ReviewWhen this script is reached through the root When AGENTS.md reference: AGENTS.md:L82-L82 When AGENTS.md reference: AGENTS.md:L82-L82 ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Adds three Rstest examples for the features highlighted in the Rstest 0.12 announcement, using the currently published 0.11.x packages:
rstest/playwright: end-to-end testing a Rsbuild + React app with@rstest/playwright.rstest/module-federation-node: testing a local CommonJS Module Federation remote (built with Rslib'smfformat) with@module-federation/rstest, no HTTP server.rstest/module-federation-browser: testing a federated React component in Rstest Browser Mode; the Rslib-built remote is served byglobalSetup.Also adds Rstest to the root README project list.
Verification
pnpm testpasses in all three examples (Node 24, pnpm 10).tsc --noEmitpasses in every package;rs fmt/rs lintclean.