16af9dfae6
Considerations: - Change validation mode for StatusText to have validity from the start - Don't show a color selection if the selected color doesn't match the available color palette - Don't enable button if nothing changed - Tests - Add test for validation mode that shows how the valid property behaves based on findings. - Fix text to expect valid on no input for the default control Fixes: #8211 |
||
---|---|---|
.. | ||
TestComponents | ||
TestControls | ||
Testing/Temporary | ||
qml/StatusQ/TestHelpers | ||
src | ||
CMakeLists.txt | ||
main.cpp | ||
readme.md |
readme.md
Readme
Developer instructions
CMake
cd ./tests/
cmake -B ./build/ -S .
cmake --build ./build/
ctest --test-dir ./build/
QtCreator
- Open the
./tests/CMakeLists.txt
- Choose a QT kit to run the tests
- Set
%{sourceDir}/tests
as Working Directory for the TestStatusQ target - In the Test Results panel choose Run All Tests or just run the TestStatusQ target
TODO
- TestHelpers library
- Consolidate and integrate with https://github.com/status-im/desktop-ui-tests
- Separate projects per scope: TestControls, TestComponents