Repository navigation
R35-T040: Verify screenshot arguments - #130
Open
suraj-3010 wants to merge 1 commit into
Open
suraj-3010 wants to merge 1 commit into
suraj-3010 wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR strengthens tests for HTML to Images by checking the exact HTML, filename, CSS arguments, screenshot call count, and source-file preservation without starting a browser.
Related Issue
Fixes: #40
Type of Change
Changes Made
<p>x</p>with an empty background.Helloand thelightbluebackground.Html2Imageand interactive input, and used temporary HTML files.work/R35-T040/.Screenshots / Recordings
No UI changes; the browser and screenshot generation are mocked.
Testing
Ran:
Result: 2 tests passed against the original implementation. The temporary mutant failed the named empty-background assertion, as expected.
Checklist
Additional Notes
The test file matches the repository ignore rule
test*and was explicitly included in this PR. No mutation remains in the source.