medic / cht-release-testing

Used to track release testing on medic projects
2 stars 0 forks source link

Test pregnancy form #229

Open lorerod opened 1 year ago

lorerod commented 1 year ago

Exploratory testing pregnancy form

tatilepizs commented 1 year ago

cht-core version: 4.1 cht-android version: v0.8.0-5

Tester Phone details Android System WebView version Android OS version APK Results Notes
Bede
Lorena Samsung Galaxy J7 8.1.0 android-v0.8.0-5-unbranded_test-xwalk Failed More details about the test here
Tatiana Samsung Galaxy A01 110.0.5481.65 10 android-v0.8.0-5-unbranded_test-webview Passed More details about the test here
tatilepizs commented 1 year ago

Test notes - Android 10

The pregnancy report was created successfully, no issues were found. Images attached.

Pregnancy registered. Condition card appeared with all the correct information. ✅ image
Record in reports created. ✅ image image
Follow-up tasks were generated. ✅ image
Target updated. ✅ image
lorerod commented 1 year ago

Test - Android 8.1

Using an offline user. Using a women of reproductive age I wasn't able to create the register a pregnancy. "Error Loading Form." message appeared.

Error Log ``` 03-02 12:48:38.987 18641 18641 I chromium: [INFO:CONSOLE(1)] "Data node: /*/meta/deprecatedID with null-based index: undefined not found. Ignored.", source: https://192-168-100-62.local-ip.plip.com:10443/main.js (1) 03-02 12:48:39.079 18641 18641 I chromium: [INFO:CONSOLE(1)] "[object Object]", source: https://192-168-100-62.local-ip.plip.com:10443/main.js (1) 03-02 12:48:39.082 18641 18641 I chromium: [INFO:CONSOLE(1)] "Failed during the form "pregnancy" rendering : ", source: https://192-168-100-62.local-ip.plip.com:10443/main.js (1) 03-02 12:48:39.084 18641 18641 I chromium: [INFO:CONSOLE(1)] "Error loading form", source: https://192-168-100-62.local-ip.plip.com:10443/main.js (1) ```
Image attached ![Screenshot_20230302-100932_CHT Android](https://user-images.githubusercontent.com/21312057/222482092-47d949ec-7491-4f04-b4b3-58fddd746059.jpg)
dianabarsan commented 1 year ago

Same as https://github.com/medic/cht-release-testing/issues/243#issuecomment-1452362491 Could you please check for feedback docs and share what got submitted? Thanks a lot!

lorerod commented 1 year ago

Pregnancy form:

Failed during the form \"pregnancy\" rendering : [\"FormLogicError: Could not evaluate: if( /model/instance[1]/pregnancy/group_gestational_Age/pregnancy_report_method  = 'lmp',   /model/instance[1]/pregnancy/group_gestational_Age/estimated_edd_std ,   if( /model/instance[1]/pregnancy/group_gestational_Age/pregnancy_report_method  = 'edd',     /model/instance[1]/pregnancy/group_gestational_Age/entered_edd ,     format-date-time(date-time(decimal-date-time(today())+252), \\\"%Y-%m-%d\\\"))), message: globalThis is not defined\"]