Comments (3)
This came into my twitter feed yesterday
https://www.npmjs.com/package/@web/test-runner-visual-regression
from playground-elements.
The Workbox team pointed me to this for an example: https://github.com/GoogleChromeLabs/sw-appcache-behavior/blob/master/tests/test-suite.js
from playground-elements.
Keep in mind they use pixelmatch internally, which can have trouble with font smoothing differences across different OSes. Most libraries will have the same problem, looks-same
tries to handle this by some clever algorithms but still trips up on it sometimes.
Just something to take into account I guess. The one true solution is to always generate them in CI so they are consistent i think, knowing that people who clone the repo are likely to get slightly different screenshots.
from playground-elements.
Related Issues (20)
- Document supported hotkeys in README
- Alias/ignoring node modules or node specific files similar to browser field in package.json HOT 6
- Incorrect event name 'changed' HOT 3
- Add ability to focus a specific file when loading project HOT 1
- Add syntax highlighting to JSX and TSX files HOT 1
- Editing TSX/JSX files causes preview to not load - index.html is never served
- Use filetypes over mime-types for syntax highlighting
- Multiple HTML files HOT 1
- firefox 103
- esbuild configuration: webworker support
- Clear console on each build HOT 1
- Dev mode switch
- Support import assertions and CSS modules HOT 1
- Fragments in URLs to project files cause 404s
- Open preview in new tab button
- Tests seem broken locally
- Cursor disappears after blurring and re-focusing in Firefox HOT 3
- Tab always inserts 1 space instead of 2 using default options
- Unable to make use of Clipboard api copy and paste operations from different domain
- Types support for package exports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playground-elements.