tacoss / testcafe-blink-diff

Visual regression for Testcafé
65 stars 15 forks source link

add some commands on npm and fix windows npm install prebuild problem #70

Closed tomoh1r closed 3 months ago

tomoh1r commented 3 months ago

Description

HI, I use windows native and I could npm install with prebuild not work on windows problems. I'd like to fix it with use mkdirp/rimraf that corss platform tools. How about use that.

Type of change

How Has This Been Tested?

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

Test Configuration:

It could run windows and WSL2 (CentOS Stream release 9, node 22.0.0, npm 10.5.1)

Checklist: