You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only run typecheck after major changes (new files, significant refactors, schema changes). For small edits, trust the types and let CI catch issues.
14
14
15
+
## Testing Dashboard Changes with Chrome DevTools MCP
16
+
17
+
Use the `chrome-devtools` MCP server to visually verify local dashboard changes. The webapp must be running (`pnpm run dev --filter webapp` from repo root).
2. mcp__chrome-devtools__click the "Continue with Email" link
25
+
3. mcp__chrome-devtools__fill the email field with "local@trigger.dev"
26
+
4. mcp__chrome-devtools__click "Send a magic link"
27
+
→ Auto-logs in and redirects to the dashboard (no email verification needed locally)
28
+
```
29
+
30
+
### Navigating and Verifying
31
+
32
+
-**take_snapshot**: Get an a11y tree of the page (text content, element UIDs for interaction). Prefer this over screenshots for understanding page structure.
33
+
-**take_screenshot**: Capture what the page looks like visually. Use to verify styling, layout, and visual changes.
34
+
-**navigate_page**: Go to specific URLs, e.g. `http://localhost:3030/orgs/references-bc08/projects/hello-world-SiWs/env/dev/runs`
35
+
-**click / fill**: Interact with elements using UIDs from `take_snapshot`.
36
+
-**evaluate_script**: Run JS in the browser console for debugging.
37
+
-**list_console_messages**: Check for console errors after navigating.
38
+
39
+
### Tips
40
+
41
+
- Snapshots can be very large on complex pages (200K+ chars). Use `take_screenshot` first to orient, then `take_snapshot` only when you need element UIDs to interact.
42
+
- The local seeded user email is `local@trigger.dev`.
0 commit comments