Skip to content

Commit

Permalink
Merge branch 'feature/#26-regression-testing' into develop
Browse files Browse the repository at this point in the history
# Conflicts:
#	PWA/README.md
  • Loading branch information
rcmenno committed Dec 9, 2024
2 parents a37eb55 + 6275e86 commit 23afdc3
Showing 1 changed file with 50 additions and 13 deletions.
63 changes: 50 additions & 13 deletions PWA/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Codes in template:
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
Expand All @@ -72,134 +74,169 @@ Test result legend
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
✅ 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
✅ 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
✅ 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:
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
* 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
✅ 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)
✅ 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
✅ iPhone 15 (0.24.4)
* Download data template
* Verify that it can be downloaded
✅ iPhone 15 (0.24.4)
* 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
✅ iPhone 15 (0.24.4)
* 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
Expand All @@ -209,5 +246,5 @@ Useful tool when testing
[Online barcode generator](https://barcode.tec-it.com/en)

#### Regression observations
Huawei P30 (0.24.2)
In some cases actions resulted in a 404, force quiting and relaunching the app turned out to be the workaround for this.
🟠 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 23afdc3

Please sign in to comment.