Skip to content

Use AI to generate Playwright automated testing for visuals #1030

@jcubic

Description

@jcubic

I have an idea for a new feature for jQuery Terminal

There were plans for a long time to add automated testing that tests rendering.

We should use LLMs to generate some automated testing with Playwright.

  • Create a plan of what should be tested (needs human input)
  • Add Playwright tests
  • Add to GitHub actions
  • Setup Docker for local testing
  • Add visual breaking change in a PR to confirm that the test will catch it

To Test:

  • spacing below different background (found recently) ervy demo
  • Few ANSI ART (also spacing)
  • Prism with JavaScript syntax
  • Images
    • Spacing of multiple Images
    • Error Image SVG
  • Less rendering
    • Larger content
    • Smaller Content
    • Images
    • Error Images

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions