Skip to content

TF-0MN0PBAJI1M69L6H: Fix browser imports, expose presets for web demo, add Playwright CI#251

Open
SorraTheOrc wants to merge 25 commits intomainfrom
feature/TF-0MN0PBAJI1M69L6H-fix-browser-imports
Open

TF-0MN0PBAJI1M69L6H: Fix browser imports, expose presets for web demo, add Playwright CI#251
SorraTheOrc wants to merge 25 commits intomainfrom
feature/TF-0MN0PBAJI1M69L6H-fix-browser-imports

Conversation

@SorraTheOrc
Copy link
Copy Markdown
Member

Implements fixes for browser compatibility and e2e stability:\n- Guard process.env TF_DIAG access to avoid ReferenceError in browser (src/core/recipe.ts)\n- Copy presets into web/public during web prebuild so file-backed recipes are available to web demo\n- Add GitHub Actions workflow to run Playwright E2E for the web demo\n\nRelated work items: TF-0MN0PBAJI1M69L6H (parent), TF-0MOKJJE4A001SFKR, TF-0MOKJJI7N005LT61, TF-0MOKJJN42008FARS\n

Sorra added 21 commits April 28, 2026 16:33
…-level await in recipes/index to fix Vite browser build
…th Vite (import.meta.globEager) and Node (discoverFileBackedRecipes); export discoveryReady promise
…o ensure file-backed recipes are registered before command dispatch
…ength after offline rendering to help E2E smoke test
…g Vite build using import.meta.globEager to ensure registry ready before UI init
…d presets from server when registry misses a recipe
…kend to keep E2E tutorial step fast and deterministic
… prebuild and add GitHub workflow to run Playwright e2e
@SorraTheOrc SorraTheOrc self-assigned this Apr 29, 2026
…ll mismatch; use channel=chrome when CI=true
@SorraTheOrc
Copy link
Copy Markdown
Member Author

Updated playwright config to prefer system Chrome in CI (channel: 'chrome') to avoid headless-shell revision mismatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant