ultron
ultron copied to clipboard
Testing screen state
Would be nice to have a feature to capture an entire screen state to assert it later. It can reduce a boilerplate code that you usually do to assert different elements on the screen.
- It can be combined with the soft assertions as well. First when the screen is displayed we capture an entire tree that comprises of visible elements with all the attributes and print it to the debug log section where we can copy-paste it from into our test code.
- Should support filtering in case we don't need to verify certain elements or their attributes.
Sounds interesting. It looks like this ability could be implemented now as an extension of the framework. https://open-tool.github.io/ultron/docs/common/extension#compose