[CP-84] Implement Security API
- Added pass code unlock from MC
- Removed Set USB security status
- Changed isLocked to phoneLocked in request for phone lock status
- Removed remainings of USB security in Settings App
- Reworked USB security model to depend both on
Phone lock state and Pass code being enabled
- Updated test_security.py
[CP-83] Update tests for unlocking phone and usb
Removed leftovers of old usb security tests implementation.
Added tests for unlocking via security endpoint.
[EGD-6867] Renamed TopBar into StatusBar
Renamed TopBar into StatusBar.
[CP-79] Update messages API tests
Check if all required fields in resposne
json are present. Also check if they
have a proper type.
[EGD-6736] Add app's state dependent autoLock mechanism
This PR provides the implementation of the auto-locking mechanism that
is dependent on an application's current auto-locking policy. Three
auto-lock policies have been introduced:
* DetermineByWindow
* DetermineByAppState
* PreventPermanently
Also changed the AutoLockWindow set/get auto-lock time value to the
message-based approach.
[CP-2] I don't want to see data from Pure in Center when Pure is locked
[CP-48] Re-enabled USB security
[CP-49] Update test harness with usb security
[EGD-6082] Fix cellular start harness test
Improved cellular cold and hot start harness test
[EGD-6352] Add Factory reset mode
Stop DB service
Delete DB files
Make reboot
[EGD-5909] Fix disable test_usb_echo.py
Test checked for echo mode being enabled, and continued
execution while echo mode was off.
[EGD-5834] Fix restore API
Change restore API
backup/restore/update harness tests
[EGD-6113] Always run tests on linux release
With original script was able to select build dir to run
against this script always chooses "Release" version
[EGD-6113] Fix Test harness issue in ServiceDesktop worker
Remove spare logging in MessageHandler.cpp
Move Linux CI target to Release
Remove spare logs form harness tests
Disable failing test cases in:
test_templates and test_connection_security
[EGD-4863] Add harness test for cellular sleep mode
Adding test for outgoing call and text message
in cellular sleep mode
[EGD-6259] Turn off usb security
To prevent errors with USB connectivity and charging screens.
[EGD-5783] Exclude empty body from response message
Remove body field from response message,
if it contains null. Add 204 and 501 status codes
and use them in proper responses.
204 stands for success but no content, and 501
means endpoint is not implemented.
Additionally some minor fixes.
[EGD-6191] Fix harness call tests
* This PR provides a fix for the bug reported in [EGD-6081].
The solution adds the `tear_down`-like fixture called after the
problematic tests, that enforce focus on `ApplicationDesktop'`s
main window.
* Additionally similar solution was added to `test_auto_lock`
to restore original (30s) lock timeout.
[EGD-6081]: https://appnroll.atlassian.net/browse/EGD-6081
[EGD-5945] Bluetooth-harness API messages
This PR:
* provides Bluetooth-Harness API messages definition [EGD-5944]
* provides Bluetooth-Harness API messages implementation
* provides Bluetooth-Harness API usage on harness side [EGD-5946]
* provides Bluetooth-Harness tests [EGD-5947]
[EGD-6076] Fix test_send_message fails
fix for function erase_all_templates
[EGD-5965] Add BT-Harness API documentation
Added documentation:
* BT endpoint API
* BT-Harness tests