Generate and Maintain E2E Tests with Octomind
Octomind discovers your app's user flows and generates Playwright tests that self-update when the UI changes.
Prerequisites
- Octomind account
- A web app with a URL Octomind can access (staging or prod)
Step 1: Connect your app
In Octomind, add your app's URL. Octomind crawls the app and discovers user flows automatically: login, checkout, form submission, navigation.
Step 2: Review discovered flows
Octomind shows the flows it found. Select which ones to generate tests for. Prioritize critical paths: login, checkout, core feature use.
Step 3: Generate tests
Click "Generate Tests" for each flow. Octomind writes Playwright tests. You can view and edit them. The tests use semantic selectors, not brittle CSS classes.
Step 4: Run in CI
Octomind provides a GitHub Action. Add to your workflow: runs tests on every PR. Failures show which user flow broke and what changed.
Step 5: Auto-update on UI changes
When your UI changes, Octomind detects that a test is failing because the UI changed (not a bug). It updates the test automatically and notifies you. You review and approve the update.
Step 6: Add custom tests
For flows Octomind didn't discover (edge cases, admin-only flows), write Playwright tests manually and add them to the Octomind suite. They'll run alongside auto-generated tests.
Discussion
Sign in to comment. Your account must be at least 1 day old.