ChildMindInstitute / mindlogger-app

MindLogger (React Native) data collection app
Other
15 stars 6 forks source link

[DEV] The conditional logic is not applied in the activity created with the applet builder #2749

Closed natalia-muzyka closed 2 years ago

natalia-muzyka commented 2 years ago

Preconditions The app is installed and launched User is logged in to the account with the activity created with the builder and containing the conditional logic (Activity Flow 7 / Test A It is a long established fact that a reader will) user3-dev@ml.com / 123456

Steps to reproduce

  1. Open the applet and start the activity
  2. Fail the condition rule (select 'Option 2' on the Screen1, and any of the options on Screen2)
  3. Observe the result

Actual result The conditional logic is not applied in the activity created with the applet builder: After failing the conditional rule on Screen1 Screen3 is shown.

Expected result The item that should be hidden according to the conditional logic is displayed in the activity: After failing the conditional rule on Screen1/Screen2/both Screen3 is NOT shown.

NOT REPRODUCED IN THE DBT APPLET

Video: https://www.screencast.com/t/6V4O1eatD

Environment: ML v0.21.33 dev iPhone 7 // iOS 13.1.1 Google Pixel 5a // Android 11 user3-dev@ml.com / 123456 Activity Flow 7 / Applet password Qwe123!!!

natalia-muzyka commented 2 years ago

Verified as fixed: https://www.screencast.com/t/lyGtk3J6t

Environment: ML v0.21.36 staging iPhone 7 // iOS 13.1.1 Google Pixel 5a // Android 11 user-stg@ml.com / 123456 Activity Flow 1 / Test A Applet password Qwe123!!!