-
Notifications
You must be signed in to change notification settings - Fork 74
fix: fix remaining issues in new assertView algorithm and implement cropMargins options #1277
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
Merged
shadowusr
merged 21 commits into
testplane@9
from
users/shadowusr/TESTPLANE-672.fix-issues-3
Jun 15, 2026
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7929e01
fix: handle a case when setTimeout is stubbed during waiting for sele…
shadowusr d24c8d0
fix: fix safe area computation for fixed blocks
shadowusr a52e26a
fix: disable animations and hovers in page screenshots by default
shadowusr 65c907d
fix: do not move pointer on mobile devices, because it causes some br…
shadowusr a098cc7
fix: handle a case when capture area needs to be expanded, but captur…
shadowusr 2137d40
fix: fix handling of sticky/fixed positioned elements inside capture …
shadowusr 27ed383
fix: when computing average shift, only take non-zero shifts into acc…
shadowusr 2207f29
fix: print helpful message if element to capture is hidden/disappeare…
shadowusr 54ea496
fix: ignore transparent blocks via css filter opacity when computing …
shadowusr 94b1e8f
fix: capture fixed-positioned elements and fix various inconsistencie…
shadowusr bc75487
fix: handle missing timeout value in safari simulators during capture…
shadowusr f2e0c7d
fix: rollback only on needed amount of px if safe area shrinks instea…
shadowusr 9a82ec0
fix: use correct computation to determine instersection percentage be…
shadowusr 636304b
fix: revert introducing synthetic capture specs for fixed-positioned …
shadowusr 6ac39b9
feat: implement cropMargins options
shadowusr b3a9c31
chore: enable screenshot verbose logging only with TESTPLANE_DEBUG_SC…
shadowusr 2b88b5b
fix: fix zero maxDelta non-renderable capture spec case during compos…
shadowusr 0a4c880
test: fix unit tests
shadowusr 02f97bc
fix: fix review issues
shadowusr db39348
fix!: set default tolerance value to 3 and ignoreDiffPixelCount to 4
shadowusr d1ef73e
docs: actualize screenshots dev readme
shadowusr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.