tacoss / testcafe-blink-diff

Visual regression for Testcafé
65 stars 15 forks source link

fix: tests to care windows/others display resolution diff #73

Closed tomoh1r closed 3 months ago

tomoh1r commented 3 months ago

Description

Hi, I couldn't pass #72, so I change some tests, please check it

Substantial commit ids are below:

Type of change:

Improvement (non-breaking change which fixes an issue)

How Has This Been Tested?:

> & npm i
> & npx sirv e2e/public --port 3000
> & si -Path Env:\BASE_URL -Value "http://localhost:3000"
> & si -Path Env:\WINDOW_DPI -Value 1
> & npx testcafe edge:headless e2e/cases -s path=e2e/screens

Test Configuration:

Checklist:

tomoh1r commented 3 months ago

Or, we could use lte then check betweenness values

tomoh1r commented 3 months ago

Add some betweenness tests in #74, thx!