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

[Feature]: Extended Result View in the HTML Reporters List View (include screenshot diff) #33953

Open
babslgam opened this issue Dec 11, 2024 · 2 comments

Comments

@babslgam
Copy link

🚀 Feature Request

lntegration or option to integrate the ImageDiffView into the FileResultView used in the HTML Reporter for immediate visual feedback when testing code that produces multiple pages.

Example

Fork with experimental changes:
https://github.com/babslgam/playwright/tree/experiment/show-imagediff-in-listview

example based on existing ones:
https://github.com/babslgam/playwright/tree/experiment/show-imagediff-in-listview/examples/mock-reading-view
(npx playwright test tests/reading-view.spec.js --reporter=html)

extended view would look like this:
Image

Motivation

use case described here:
https://github.com/babslgam/playwright/tree/experiment/show-imagediff-in-listview?tab=readme-ov-file#use-case--purpose-of-changes-in-this-fork

@babslgam babslgam changed the title [Feature]: [Feature]: Extended Result View in the HTML Reporter Dec 11, 2024
@babslgam babslgam changed the title [Feature]: Extended Result View in the HTML Reporter [Feature]: Extended Result View in the HTML Reporters List View Dec 11, 2024
@babslgam babslgam changed the title [Feature]: Extended Result View in the HTML Reporters List View [Feature]: Extended Result View in the HTML Reporters List View (include screenshot diff) Dec 11, 2024
@yury-s
Copy link
Member

yury-s commented Dec 11, 2024

Is the request about showing image diff inline in the test result list rather than having to open test details view first and then seeing the diff?

@babslgam
Copy link
Author

yes, exactly.

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

No branches or pull requests

2 participants