Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test pregnancy form #229

Open
lorerod opened this issue Feb 24, 2023 · 5 comments
Open

Test pregnancy form #229

lorerod opened this issue Feb 24, 2023 · 5 comments

Comments

@lorerod
Copy link

lorerod commented Feb 24, 2023

Exploratory testing pregnancy form

@tatilepizs
Copy link

tatilepizs commented Feb 27, 2023

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
Copy link

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
Copy link
Author

lorerod commented Mar 2, 2023

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

@dianabarsan
Copy link
Member

Same as #243 (comment)
Could you please check for feedback docs and share what got submitted?
Thanks a lot!

@lorerod
Copy link
Author

lorerod commented Mar 2, 2023

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\"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants