motia
motia copied to clipboard
feat: increment e2e tests cli
Summary
Related Issues
Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactor
- [ ] Other (please describe):
Checklist
- [ ] I have read the CONTRIBUTING.md
- [ ] My code follows the code style of this project
- [ ] I have added tests where applicable
- [ ] I have tested my changes locally
- [ ] I have linked relevant issues
- [ ] I have added screenshots for UI changes (if applicable)
Screenshots (if applicable)
Additional Context
[!NOTE] Adds comprehensive E2E tests for Motia CLI commands with a new CLI helper and minor cursor rules doc updates.
- E2E Tests (CLI):
- Add coverage for
docker(build,setup,--help) inpackages/e2e/tests/release/cli/cli-docker.spec.ts.- Add
emitcommand tests (topic/message validation, custom port) incli-emit.spec.ts.- Add
generate-typestests (file creation, success output) incli-generate.spec.ts.- Add
installtests (success, Python venv detection,--verbose, non-Python projects) incli-install.spec.ts.- Add
rules pulltests (file creation, overwrite behavior) incli-rules.spec.ts.- Add
startserver tests (custom port/host,--disable-verbose) incli-server.spec.ts.- Add version output tests (
version,-V,--version) incli-version.spec.ts.- Test Utilities:
- Introduce
packages/e2e/src/cli-helpers.tswithgetCliCommandandgetCliPathsupportingMOTIA_CLI_PATH/MOTIA_VERSION.- Refactor
cli-validation.spec.tsto usegetCliCommand('generate openapi').- Docs:
- Update
.cursor/index.mdcto include guides forUI stepsandmotia config.Written by Cursor Bugbot for commit 8bef3698345e48b054bd4353e5c6313587449133. This will update automatically on new commits. Configure here.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| motia-docs | Preview | Comment | Nov 28, 2025 3:07pm | |
| motia-ui | Preview | Comment | Nov 28, 2025 3:07pm |
📦 This PR is large (>500 lines). Please ensure it has been properly tested.
E2E Test Results ✅
All tests have completed. Tests passed.
Matrix: 2 OS (Ubuntu, macOS) × 2 Templates (TypeScript, Python) = 4 jobs
This comment is automatically posted by the PR E2E Results workflow.