mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-08 20:56:39 +00:00
TLDR: later this should form a basic building block for a new TokenSelector picker component, potentially replacing the current HoldingSelector* and TokenListView components (support for collectibles TBD as part of https://github.com/status-im/status-desktop/issues/15121) - create reusable `TokenSelectorAssetDelegate` and `TokenSelectorView` - add corresponding SB page, showcasing the flow/integration and the separation of concerns between the view, adaptor and delegate layers - add QML testcase for TokenSelectorView - don't display crypto symbol for token balances per chain tags - update the stores and SB pages - add some missing formatter functions to LocaleUtils and CurrenciesStore Fixes #14716
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