Fix Playwright test reliability and CI improvements#2
Open
HerbCaudill wants to merge 15 commits intomainfrom
Open
Fix Playwright test reliability and CI improvements#2HerbCaudill wants to merge 15 commits intomainfrom
HerbCaudill wants to merge 15 commits intomainfrom
Conversation
So I don't have to keep bonking around in main but still get feedback without a PR
…n race Root cause: When running tests in dev mode, Vite's dependency optimizer doesn't finish processing DXOS's dynamically imported browser modules before tests start. This causes 404 errors for files like browser-*.js. Fix: - Add DXOS packages to optimizeDeps.include to force upfront pre-bundling - Add global setup that warms up the Vite cache by loading the app once before tests run, ensuring all dynamic imports are discovered 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- tailwind.config.ts: Restrict content pattern to ./app/** to avoid scanning node_modules - Move shared-worker.js from public/ to app/shared-worker.ts to fix Vite's public directory warning - Filter out noise warnings (Node module externalization, React DevTools) from test console output - Silence global setup error on cold cache (expected behavior) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
globalSetup: improve warmup process and logging for Vite dependency optimization App: enhance log filtering for better compatibility messages
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
Test plan
🤖 Generated with Claude Code