Skip to content

Conversation

@blammit
Copy link
Contributor

@blammit blammit commented Dec 8, 2025

Add C++ and QML API to support simple automated UI testing. The main idea is to click through the UI and do a simple image comparison to verify whether screens have changed.

See tests/ui/README.md for more information.

A basic set of tests have been implemented for mock mode, in tests/ui/smoke/mock-maximal.

Contributes to #984


FYI

See README here: https://github.com/victronenergy/gui-v2/blob/f0cf47627eaf8f5ec3aab0635bf336fc0dddfe5f/tests/ui/README.md

Run the mock-maximal test with:

./bin/venus-gui-v2 --mock --ui-test smoke/mock-maximal

@blammit blammit marked this pull request as draft December 8, 2025 08:16
@blammit blammit changed the title Tests: support automated UI testing [WIP] Tests: support automated UI testing Dec 8, 2025
@blammit blammit force-pushed the blam/ui-test branch 2 times, most recently from 1480b9f to f0cf476 Compare December 8, 2025 22:55
Add C++ and QML API to support simple automated UI testing. The main
idea is to click through the UI and do a simple image comparison to
verify whether screens have changed.

See tests/ui/README.md for more information.

A basic set of tests have been implemented for mock mode, in
tests/ui/smoke/mock-maximal.

Contributes to #984
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.

2 participants