Skip to content

Conversation

@lucbrinkman
Copy link
Owner

Summary

  • Install Playwright with Chromium browser for E2E testing
  • Create comprehensive test suite covering critical user flows:
    • Canvas navigation: Load page, pan canvas, zoom with Ctrl+scroll
    • Node creation: Context menu and add arrow button interactions
    • Node movement: Drag-and-drop with grid snapping and free movement (Shift key)
    • Node deletion: Delete button, START node protection, nodes with connections
  • Integrate E2E tests into CI pipeline with automatic artifact upload on failure
  • Add npm scripts for different test modes (headless, UI, headed, debug)

Test Plan

  • All tests run automatically in CI on this PR
  • Manually verified locally with npm run test:e2e
  • Tests cover anonymous user flows only (authenticated testing to be added later)

🤖 Generated with Claude Code

- Install Playwright with Chromium browser
- Create comprehensive E2E test suite:
  - Canvas navigation (load, pan, zoom)
  - Node creation (context menu, add arrow buttons)
  - Node movement (drag, grid snap, free movement with Shift)
  - Node deletion (delete button, START node protection, nodes with connections)
- Add npm scripts for running tests in different modes (headless, UI, headed, debug)
- Integrate E2E tests into CI workflow
- Upload test artifacts on failure for debugging
- Update CLAUDE.md with testing documentation
- Add Playwright artifacts to .gitignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@vercel
Copy link

vercel bot commented Nov 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ai-world-model Ready Ready Preview Comment Nov 21, 2025 7:26pm

- Add guidance that PRs should only be created when user requests it
- Clarify that feature branches may be worked on for extended periods
- Add to Key Rules section for emphasis

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

2 participants