retest / recheck-web-js Goto Github PK
View Code? Open in Web Editor NEWrecheck for web apps – change comparison tool with Golden Masters and Git-like ignore syntax.
Home Page: https://retest.de
License: GNU Affero General Public License v3.0
recheck for web apps – change comparison tool with Golden Masters and Git-like ignore syntax.
Home Page: https://retest.de
License: GNU Affero General Public License v3.0
Text (key text
) is currently extracted via nodeValue
(see getText
), i.e., the node's actual text value. The problem is that the text might be displayed differently, for example, if a certain text-transform
is applied. So when a node's text is "foo", this could be displayed as "Foo", "FOO", …
The WebDriver link text locator retrieves the rendered text via the Get Element Text command:
Let rendered text be the result of performing implementation-specific steps whose result is exactly the same as the result of a Call(
bot.dom.getVisibleText
,null
, element).
We might want to consider to do this is as well, but:
dom.js
available in the browser? If yes, in any browser? If no, do we have to bundle the script since we don't want to reimplement the functionality?text-transform
, which is then reflected in the rendered text?Copy and transform the code from retest/recheck-web#581
We want to release for each npm release also a webjar, so that we can use it in our java projects.
Based on this discussion, I believe it would be helpful to have a very basic image comparison functionality. Many GUIs such as websites have e.g. icons or image banners. Currently, we aren't notified when such content changes—which is not ideal for a lib that is said to support visual testing.
As suggested by @roesslerj, a very basic implementation could try to extract hashes for images and then these hashes can be compared.
Also, the question arises if we can remove the legacy stuff from de.retest.recheck.image
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.