Skip to content

Perform Percy snapshotting in end to end tests #1340

@gumaerc

Description

@gumaerc

Description/Context

Browserstack Percy is a product that takes snapshots of websites and performs automatic visual comparison, generating images that show the differences between two snapshots. We should add this to our end to end tests so visual comparisons can be made both from branch to branch and also from commit to commit if necessary.

Plan/Design

  • Add the @percy/cli and @percy/playwright to dev dependencies
  • Add Percy snapshots to the appropriate tests:
    • The main ocw-www home page
    • The search page
    • The course home page
    • A course content page
  • Make sure the proper env variables are set up in RC / production before merging PR's related to this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions