browser-UI-test
browser-UI-test copied to clipboard
small JS framework to easily provide UI screenshot-based tests
It'd be nice to be able to include (or not) margin, padding and border.
To replace code such as: ```js await new Promise(r => setTimeout(r, timeAdd)); ```
For this input: ``` ("a", {color": "blue"}) ``` It gives: ``` {"error":"`color`: booleans and idents cannot be used as keys"} ``` It should instead complain about the `"` before the...
It would be very useful for color checks to have a way to convert between different formats. For example: ``` assert: ("#stuff", {"color": "#fff" }) ``` In this case, even...
We should have a check for "this element is fully visible," where "visible" means "fully in the viewport, and not obscured by other elements." We might be able to do...
It would be useful to be able to check an item's size using inequality: greater than, less than, etc. For instance this could be: `assert-size: (".foo", "width", ">", "100px")` or...