Pull requests workflow

Pull request integration

When a test fails in your pull request, Plato:

  1. Captures the failed test context
  2. Analyzes selectors from the pages referenced in the test
  3. Generates fix suggestions
  4. 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

  1. Review the suggested fix
  2. Click "Commit changes"
  3. 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.