Skip to content

Conversation

@suresh-gangumalla
Copy link
Collaborator

Playwright-based visual regression tests have been added, including a sample example application and a visual-tests project that supports two execution modes: Local Mode and CI (Docker) Mode. To get started, first install the Blits dependencies

npm install
cd examples && npm install
cd visual-tests && npm install

To run tests in Local Mode, begin by capturing baseline snapshots
npm run test:visual -- -- --capture

Then execute the visual snapshot comparison
npm run test:visual

For CI (Docker) Mode, build the Docker image
npm run build:docker

And run the visual regression tests in CI mode
npm run test:visual -- -- --ci

@github-actions
Copy link

Test Results: ✅ PASSED

Run at: 2025-11-19T12:46:35.830Z

Summary:
passed: 917 failed: 0 of 917 tests

@CLAassistant
Copy link

CLAassistant commented Nov 20, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ michielvandergeest
✅ suresh-gangumalla
❌ Suresh Kumar Gangumalla


Suresh Kumar Gangumalla seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link

Test Results: ✅ PASSED

Run at: 2025-11-20T13:59:52.079Z

Summary:
passed: 917 failed: 0 of 917 tests

Earlier playwright version was build on top of linux 22.x
and latest changes to msdf-font-generator linux binaries requires
GLIBC > 2.38. Ubuntu 24.X comes with GLIBC version which satisifies
msdf-font-generator binaries in linux OS so updated playwright to nobel
version which build on Ubutntu 24.X.

Masking node_modules of examples and visual-tests projects inside
docker from blits directory complete mount so that examples and
visual-tests projects get node_modules of playwright image (linux)
node-modules on container run instead of depending on host machine
installed node-modules

Signed-off-by: suresh-gangumalla <[email protected]>
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Test Results: ✅ PASSED

Run at: 2025-12-05T10:14:29.783Z

Summary:
passed: 917 failed: 0 of 917 tests

Signed-off-by: suresh-gangumalla <[email protected]>
@github-actions
Copy link

Test Results: ✅ PASSED

Run at: 2025-12-12T09:00:18.096Z

Summary:
passed: 917 failed: 0 of 917 tests

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.

3 participants