Skip to content

Conversation

@TomStrepsil
Copy link
Contributor

@TomStrepsil TomStrepsil commented Feb 28, 2025

Issue

resolves #28

Details

This PR attempts to loosen the strict binary checking that is causing newer versions of Chromium Linux to produce false negatives. By setting a 0.05 maxDiffPixelRatio, this should mitigate the 0.04 ratio thrown up by the Linux Chromium upgrade. May need further tweaking in future, but given a 0.01 headroom atop this example failure.

Scout Rule:

  • fixed false negatives against the "control" playwright snapshots when tests are run on event days
  • removed errant @reduxjs/toolkit peer dependency of the features package, this was a remnant of an endeavour to provide a redux-specific features store, but this was not created in the end, and this was left in place mistakenly.
  • removed errant react-dom dependency of the features and react-pointcuts packages, this stopped being a thing when the ssr package was extracted

CheckList

  • PR starts with [ISSUE_ID].
  • Has been tested (where required) before merge to main.

TomStrepsil and others added 9 commits December 24, 2024 17:31
* rename to proper module namespace

* update docs links

* update versions

* web toggle point in readme title

* fixup changelog from revised 0.x range

* 2.0.0 -> 0.5.0 in oss version scheme

* fix broken link syntax in CHANGELOG

* consistent quoting

* more version history issues

* fixup module name in jsdoc

* add web
remove sdkInstanceProvider

* remove SDKInstanceProvider

* fixup jsdoc dedupe

* tweak

* clarity re: ssr package

* casing etc
TomStrepsil and others added 14 commits March 2, 2025 17:02
* update workflows

* version

* typo

* update chromium linux snaps

* versions for serve update

* package.json repository field

* update root package.lock

* bugs & directories/doc fields

* fix changelog

---------

Co-authored-by: Tom Pereira <tom.pereira@johnlewis.co.uk>
Co-authored-by: Tom Pereira <tom.pereira@johnlewis.co.uk>
…l/web-toggle-point into fix/28-playwright-fuzzy-image
…l/web-toggle-point into fix/28-playwright-fuzzy-image
@TomStrepsil TomStrepsil force-pushed the fix/28-playwright-fuzzy-image branch from e695177 to 5bbe689 Compare April 10, 2025 19:50
@TomStrepsil TomStrepsil requested a review from a team as a code owner July 14, 2025 15:16
This reverts commit 61d2c30.
@asos-dominicjomaa asos-dominicjomaa merged commit 490e522 into ASOS:main Jul 14, 2025
10 checks passed
@TomStrepsil TomStrepsil deleted the fix/28-playwright-fuzzy-image branch October 21, 2025 09:26
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.

Relax Playwright Image maxDiffPixelRatio, to ignore imperceptible differences

2 participants