-
Notifications
You must be signed in to change notification settings - Fork 496
Cannot delete tests older than 21 days - DE: Tests die älter als 21 Tage sind, können nicht gelöscht werden (EXPOSUREAPP-2398) #1586
Cannot delete tests older than 21 days - DE: Tests die älter als 21 Tage sind, können nicht gelöscht werden (EXPOSUREAPP-2398) #1586
Conversation
…tworkRequestWrapper that is able to represent multiple states. This allows for better request state handling throughout the app 2. Completely removed the SubmissionViewModel 3. Failure to fetch the test should now always display the invalid test card on the home screen Signed-off-by: Kolya Opahle <k.opahle@sap.com>
…ot indicate any problems with the test itself Signed-off-by: Kolya Opahle <k.opahle@sap.com>
…ew card) Signed-off-by: Kolya Opahle <k.opahle@sap.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ran it without emulator. worked fine.
Tested it together with #1600, worked as expected. |
code lgtm. running device tests with different fetches.. will come back later |
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me. Local Tests passed.
Tested various conditions on emulated QRs on WRU-XD
Default Test: local tests passed,
pending QR: passed
invalid QR: passed
negativ QR: passed
positiv QR: passed
UI updates accordingly.
Note: I will contact you on one smaller issue.
Approved.
Description
The original pr #1481 did not fix the actual issue people were having in production.
This PR implements a refactoring of the whole state handling process for test result fetching and should hopefully get rid of the actual underlying issue.
Please make sure to test the risk status fetching behaviour thouroughly, especially on the homescreen. Using the cwa server emulator should help in the process. Also check behaviour with varying network connectivity states
Steps to reproduce
With Emulator:
To test the specific 21 days failure case you need to do the following:
Without emulator