Skip to content

Commit 712de6d

Browse files
committed
chore: add changeset and revert test
1 parent dc302a8 commit 712de6d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.changeset/empty-dots-follow.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@wdio/image-comparison-core": patch
3+
"@wdio/visual-service": patch
4+
---
5+
6+
# 🐛 Bugfixes
7+
8+
## #1073 Normalize Safari desktop screenshots by trimming macOS window corner radius and top window shadow
9+
10+
Safari desktop screenshots included the macOS window mask at the bottom and a shadow at the top. These artifacts caused incorrect detection of the viewable area for full page screenshots, which resulted in misaligned stitching. The viewable region is now calculated correctly by trimming these areas.
11+
12+
# Committers: 1
13+
14+
- Wim Selles ([@wswebcreation](https://github.com/wswebcreation))

tests/specs/desktop.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('@wdio/visual-service desktop', () => {
2323
await expect(browser).toMatchScreenSnapshot('viewportScreenshot')
2424
})
2525

26-
it.only(`should compare a full page screenshot successful with a baseline for '${browserName}'`, async function () {
26+
it(`should compare a full page screenshot successful with a baseline for '${browserName}'`, async function () {
2727
await expect(browser).toMatchFullPageSnapshot('fullPage', {
2828
fullPageScrollTimeout: 1500,
2929
hideAfterFirstScroll: [

0 commit comments

Comments
 (0)