Introduction to Plato

Plato is an AI-powered toolkit for Playwright that helps you write, maintain, and fix end-to-end tests. It consists of two main components: a VSCode extension for test generation and a web application for managing test failures in your CI pipeline.

Components

VSCode extension

The VSCode extension helps you write new tests by understanding your application's context and generating reliable test code. Key features include:

  • AI-Powered Test Generation: Write tests using natural language commands
  • Smart Selector Generation: Automatically generates reliable Playwright selectors
  • Multiple AI Models: Choose from various models to balance speed and accuracy
  • Context-Aware: Understands your application's structure and behavior

Get started with the VSCode extension by visiting the VSCode Extension docs.

Web application

The web app integrates with your CI/CD pipeline to catch and fix failing tests automatically. Key features include:

  • Automatic Test Analysis: Identifies why tests are failing
  • Smart Fix Generation: Suggests reliable fixes based on page changes
  • Pull Request Integration: Reviews and applies fixes through PRs
  • Team Collaboration: Share knowledge and approve fixes across your team

The web app is currently in beta. Join the waitlist to get early access or visit the Web App docs.

How they work together

  1. Development Phase (VSCode Extension)

    • Write new tests using natural language
    • Generate reliable selectors
    • Validate test coverage
  2. CI/CD Phase (Web App)

    • Monitor test runs
    • Catch failures early
    • Generate and apply fixes
    • Keep tests maintainable

Key benefits

  • Reduced Maintenance: Automatically fix broken tests
  • Better Coverage: Write comprehensive tests faster
  • Team Efficiency: Share knowledge and best practices
  • Reliable Tests: Use AI-generated selectors that don't break
  • Quick Fixes: Resolve test failures without manual intervention
Need Help?

Have questions? Visit our GitHub repository.