Skip to content

KMP Questionnaire tests with different item types#2946

Draft
LZRS wants to merge 28 commits intoohs-foundation:masterfrom
LZRS:ui-questionnaire-e2e-test
Draft

KMP Questionnaire tests with different item types#2946
LZRS wants to merge 28 commits intoohs-foundation:masterfrom
LZRS:ui-questionnaire-e2e-test

Conversation

@LZRS
Copy link
Copy Markdown
Contributor

@LZRS LZRS commented Feb 24, 2026

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).

Fixes #2944

Description
Clear and concise code change description.

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?

Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Builds | Releases | Other)

Screenshots (if applicable)

Checklist

  • I have read and acknowledged the Code of conduct.
  • I have read the Contributing page.
  • I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
  • I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
  • I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
  • I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
  • I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
…m factories

Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
ellykits and others added 5 commits February 26, 2026 02:21
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Move all the evaluate and support functions to a utility
object to be reused. Also handle exceptions thrown by the Kotlin
fhir path if evaluation fails.

Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
* Multiple fixes

- Fix slider moving maximum set value
- Update answer extension validators to correctly check evaluated cqf-calculatedValue expressions
- Include FileKit in LicenseeConfig

* Fix population of questionnaire initial value

* Replace help icon to outlined

* Fix submit button not accepting subsequent clicks

* Fix ReadOnly review screen

* Fix validation error message dialog not showing

* Update MaxValueValidatorTest and address PR comments

* Remove redundant TestExpressionEvaluator
@LZRS LZRS force-pushed the ui-questionnaire-e2e-test branch from 127369e to 9e2ac47 Compare March 6, 2026 14:36
ellykits and others added 7 commits March 9, 2026 16:09
Delete xml layout, color, style and theme files

Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
…hir into catalog-kmp-migration

Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
* Fix validation on group based questionnaires

* Use LaunchedEffect Unit to set onsubmitclicklistener

* Use layout_review for layout readonly item

* Remove reflection-api based message for sliderviewfactory
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
@LZRS LZRS force-pushed the ui-questionnaire-e2e-test branch from 9e2ac47 to 2694e2b Compare March 10, 2026 09:12
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
@LZRS LZRS force-pushed the ui-questionnaire-e2e-test branch from 2694e2b to 3f9182a Compare March 11, 2026 00:21
@LZRS LZRS force-pushed the ui-questionnaire-e2e-test branch from 3f9182a to 7cae617 Compare March 11, 2026 08:32
@LZRS LZRS force-pushed the ui-questionnaire-e2e-test branch from 4eb33f3 to ef9f421 Compare March 16, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Questionnaire UI testing to kmp, similar to the QuestionnaireUiEspressoTest in datacapture

2 participants