Describe the bug
CHT XPath function z-score does not seem to be supported by test harness. When I use this function, the form does not get filled.
To Reproduce
Steps to reproduce the behavior:
- Add a z-score function in a form calculation e.g.
z-score('weight-for-age', ../my_sex, ../my_age, ../my_weight)
- Fill the form using test harness (use
{headless: false} for visibility)
- See the browser session getting stuck on the
inputs group
What happened?
The form can't be filled and is stuck until it times out.
What did you expect?
Since z-score has been in CHT for a long time, I hoped it would just work.
Screenshots

Environment:
- Harness
"coreVersion": "4.11"
Additional context
The z-score function depends on a CouchDB doc zscore-charts which holds the z-score values. So, adding the support might not be straightforward.
Describe the bug
CHT XPath function z-score does not seem to be supported by test harness. When I use this function, the form does not get filled.
To Reproduce
Steps to reproduce the behavior:
z-score('weight-for-age', ../my_sex, ../my_age, ../my_weight){headless: false}for visibility)inputsgroupWhat happened?
The form can't be filled and is stuck until it times out.
What did you expect?

Since z-score has been in CHT for a long time, I hoped it would just work.
Screenshots
Environment:
"coreVersion": "4.11"Additional context
The
z-scorefunction depends on a CouchDB doczscore-chartswhich holds the z-score values. So, adding the support might not be straightforward.