Commit f16915a
committed
fix(e2e): use vite dev server for realistic Spotlight testing
Switch from vite build+preview to vite dev server because:
- Spotlight is designed for development mode
- Dev server automatically uses 'development' exports from SDK
- More realistic test of how users would use Spotlight
Changes:
- test:build now only runs install (no build needed for dev server)
- playwright starts 'pnpm dev' instead of 'pnpm preview'
- Removed resolve.conditions hack (dev server handles this)1 parent 90eca4e commit f16915a
File tree
3 files changed
+4
-9
lines changed- dev-packages/e2e-tests/test-applications/browser-webworker-vite
3 files changed
+4
-9
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| |||
0 commit comments