e8556a9abf
- Display Activity Center unread badge with the unread counter. - Use the new seen state stored in `status-go` to change the color of the notification. - Performance: split the `top-nav` component into left and right section components and render the unread indicator in a separate component to not trigger the re-render of the entire `top-nav` (as was before). Fixes https://github.com/status-im/status-mobile/issues/14851 Demo: https://user-images.githubusercontent.com/46027/224299978-770dd5f1-302b-4375-af2b-3cd181ffdc9d.webm Notes ===== - Fix/improve: `quo/counter` displayed `NaN` to the user if the input value was an empty string. - In Figma, there's a border around the unread indicator. I didn't implement this because the ideal solution IMO involves changing the `quo/counter` component a little bit because the width of the component varies according to the content displayed (1, 9, 99, 100, etc) and I wanted to the right thing in a separate PR. Design notes ============ There's an ongoing conversation with the Design team to decide what to do with the gray indicator on top of the bell icon, since there's little contrast when it's is in the `seen` state. Platforms ========= - Android - iOS Steps to test ============= - Open Status - Receive one or more notifications in the Home screen and check the unread indicator is blue and has a counter. - Open the AC and close it, notice the unread indicator is now in the `seen` state. You can close the app and re-open and the state is persisted. - Mark notifications as read/unread at will, check the unread counter is correct. |
||
---|---|---|
.. | ||
docker | ||
support | ||
tests | ||
views | ||
README.md | ||
pytest.ini | ||
requirements.txt |
README.md
E2E tests requirements
Environment variables
- WEB3_INFURA_PROJECT_ID
- ETHERSCAN_API_KEY
- If running on SauceLab emulators:
- SAUCE_USERNAME
- SAUCE_ACCESS_KEY
- If running with Testrail (
--testrail_report=True
param):
- TESTRAIL_PASS
- TESTRAIL_USER
Other
Userdata is stored in tests.users
module (test/appium/tests/users.py
, which is not committed to repo).
So to launch e2e you need to copy users.py
to test/appium/tests/
to prevent ImportError
If you are external contributor, you can contact us at error-reports@status.im to get users.py
More info on local setup for e2e can be found here