Pull requests workflow
Pull request integration
When a test fails in your pull request, Plato:
- Captures the failed test context
- Analyzes selectors from the pages referenced in the test
- Generates fix suggestions
- Lets you review teh fix and commit it
Reviewing failures
Change diffs
Plato shows you exactly what fix it is proposing to fix the test:
- page.getByRole('button', { name: 'Submit' }) + page.getByRole('button', { name: 'Send' })
Other coding copilots will typically hallucinate this fix, even if they have access to the source code because the page is a runtime construct. Plato has access to teh selectors from Playwright so the error rate will be greatly reduced.
Applying fixes
One-click apply
- Review the suggested fix
- Click "Commit changes"
- Plato creates a commit against the PR
Configuration options
AI models
- Choose preferred model
Always review the context and changes before applying fixes. While Plato is smart, human oversight ensures the best results.