✨ add vue-router-app sample and E2E tests#4333
Draft
mormubis wants to merge 1 commit intoadlrb/vue-trackerfrom
Draft
✨ add vue-router-app sample and E2E tests#4333mormubis wants to merge 1 commit intoadlrb/vue-trackerfrom
mormubis wants to merge 1 commit intoadlrb/vue-trackerfrom
Conversation
7f3176f to
676cb1e
Compare
Bundles Sizes Evolution
🚀 CPU Performance
🧠 Memory Performance
|
|
✨ Fix all issues with BitsAI or with Cursor
|
290c50e to
339e6f1
Compare
028cefc to
4b7de9e
Compare
339e6f1 to
0a7ccdf
Compare
4b7de9e to
d38a449
Compare
0a7ccdf to
ca26d99
Compare
ca26d99 to
db60fb6
Compare
d38a449 to
18d8e7c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Fifth and final PR (#4325, #4327, #4328, #4330 are the first four). Adds a Vite sample app and E2E tests that verify all three features of the integration work end-to-end in a real browser.
Changes
`test/apps/vue-router-app` is a Vue 3 SPA wiring up `vuePlugin`, `addVueError`, `createRouter` from `vue-router-v4`, and `UNSTABLE_useVueComponentTracker` together.
The app reads RUM config from URL query params (`?rum-config=...`) so the E2E framework can inject it at test time — same pattern as `nextjs-app-router`.
`test/e2e/scenario/vuePlugin.scenario.ts` covers the three features:
The E2E framework gets a `withVueApp()` helper (mirrors `withNextjsApp()`) and a Vite web server entry in `playwright.base.config.ts`.
Test instructions
```bash
yarn test:e2e:init
yarn test:e2e -g "vue plugin"
```
Checklist