Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Visual Test Report in Github Actions #7653

Open
wants to merge 3 commits into
base: dev-2.0
Choose a base branch
from

Conversation

Vaivaswat2244
Copy link

@Vaivaswat2244 Vaivaswat2244 commented Mar 21, 2025

Resolves #7618

This PR adds support for generating an HTML report to compare visual test results more effectively. The goal is to improve accessibility and readability of visual regression test outputs.

Changes:

  • Added a script to generate an HTML report summarizing visual test results.
  • The report includes expected screenshots and actual screenshots
  • Updated the workflow to run the added script after completion of tests
  • Edited the VisualTest.js to save the recorded screenshots to a folder actual-screenshots.
  • Then the generated html report is uploaded as an artifact.

Screenshots of the change:
This is the screenshot of the html page generated. It will show expected and Actual visuals of this.

image
You can go ahead in the Actions under Summary and download the report from artifacts section.

PR Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant