Skip to content

Commit

Permalink
#26 Add test results for testing on iPhone 15 and Alcatel 1B
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmenno committed Dec 9, 2024
1 parent 1867eaa commit 6275e86
Showing 1 changed file with 125 additions and 16 deletions.
141 changes: 125 additions & 16 deletions PWA/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,83 +59,192 @@ Codes in template:
1 Aric Norwood
2 Lira Calloway
3 Daven Morrell

Test devices
* iPhone 15
* iOS 18.1.1
* Alcatel 1B
* Android (Alcatel UI) v9L3D(11-14)

Test result legend
✅ Working as intended on tested device
🟠 Not working as intended, with workaround / non blocking
⛔️ Not working on tested device, no workaround

Installing
* App can be installed and launched from homescreen
✅ iPhone 15 (0.24.4)
🟠 Alcatel 1B
Add to homepage stopped working on this device. It says open reliefbox instead.
Currently best known workaround: launching the app from the app launcher. Since this doesn't seem to happen on other
android devices, it may be device specific thing, where PWA data isn't removed properly.
Features & verifications:
* Creating a distribution
* Verify that:
* Distribution with same name can't be added twice
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Distribution can't have date in the past
* All fields need to be entered
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* All needed fields need to be entered (Donor and items distributied are optional)
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Listing a distribution
* Verify that:
* Distribution name is shown
* Distribution data is shown
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Distribution data is shown (location and date)
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* When no beneficary data is added yet:
* No beneficiary data found message is shown
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* When beneficiary data is added
* It shows the amount of served beneficaries
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Beneficiary data can be addded
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Distribution can be started / resumed
✅ iPhone 15 (0.24.4)
* Missing beneficiaries can be checked
* Downloading beneficiary data
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
Results in site can't be reached page
* Beneficiary can be downloaded
🟠 iPhone 15 (0.24.4)
Dialog can't be dismissed [#24](https://github.com/rodekruis/reliefbox/issues/24)
✅ Alcatel 1B (0.24.4)
* Adding beneficary data to a distribution
* Verify that:
* When adding a non supported file, a spreadsheat without a "code" column or a spreadsheat with duplicate codes
* "Data" in wrong format screen is displayed
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Data template can be downloaded
🟠 iPhone 15 (0.24.4)
Dialog can't be dismissed [#24](https://github.com/rodekruis/reliefbox/issues/24)
🟠 Alcatel 1B (0.24.4)
Very minor: when template has been downloaded before, lives in downloads and name isn't changed, app navigates straight to distribution
workaround: leveraging the already downloaded template.
* "Go back to main menu" button works
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* When adding a supported spreadsheet
* It navigates to distribution page
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Viewing beneficiary data
* Verify that:
* All rows and columns from uploaded spreadsheet are displayed
* Go back to main menu button results in navigation to distribution
When beneficiary data has been added
* All rows and columns from uploaded spreadsheet are displayed
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Go back to main menu button results in navigation to distribution
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
When no beneficiary data has been added
* "No beneficiary data found!" message is shown
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Go back to main menu button results in navigation to distribution
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Starting / resuming a distribution
* Verify that:
* Tapping "Using camera" button results in scanning input screen
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Tapping "By typing" button results in text input screen
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Checking code using camera
* Verify that
* Camera can be selected when there's multiple options available
✅ iPhone 15 (0.24.4)
(on iPhone there's only one option)
✅ Alcatel 1B (0.24.4)
(seemed to have only one option)
* Pointing at a code results in navigating to code verification result page
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Checking code by typing
* Verify that:
* Code can be submitted
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Viewing code verification result page
* Verify that
* When code doesn't exist, it mentions that beneficary is not found
* Continue distribution works
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Go back to main menu works
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* When code is known and isn't scanned before
* Green beneficiary data is reveiled using green box
* Beneficiary data is reveiled using green box
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Can be marked as recipient
* Results in code input using last used input method
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Can be ignored by pressing continue distribution
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Can be ignored by pressing go back to main menu
* Distribution is listed again
* When code is already scanned
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* When code is already submitted
* Beneficiary data is reveiled using red box
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Checking missing beneficiaries
* Verify that:
* When there's still beneficiaries left
* Only the non served beneficiaries are shown
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* When all beneficiaries have been served
* No beneficiaries found message is shown
* Download data template
* Verify that it can be downloaded
* Verify that it can be used in a distribution
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Downloading beneficiary data
* Verify that:
* This results in a spreadsheet with all rows and columns from uploaded spreadsheet, but with two added columns that describe if and when the beneficiary has been marked as a recepient.
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Changing distribution
* Verify that
* When there's not distributions
* "No distributions found!" is shown
* When there are distributions
* They can be changed to
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* Deleting a distribution
* Verify that:
* When there's no distributions
* "No distributions found!" is shown
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* "Create new distribution" button works
✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)
* When there are distributions
* Distributions are listed and can be deleted upon confirmation and deletion can be canceled upon canceling

✅ iPhone 15 (0.24.4)
✅ Alcatel 1B (0.24.4)

For extra endurance testing:
* Make sure all of the above works with multiple distributions
* Make sure all of the above works with both different and the same distribution lists
* Make sure all of the above works with both different and the same distribution lists

Useful tool when testing
[Online barcode generator](https://barcode.tec-it.com/en)

#### Regression observations
🟠 Huawei P30 (0.24.2), Alcatel 1B (0.24.4)
In some cases an action may result in "This site can't be reached" message. Restarting the app or going back and performing the action again, seems to resolve this. May be more stable on newer devices (currently unclear).

0 comments on commit 6275e86

Please sign in to comment.