So I’m trying to create test for my form. I’m having trouble, because I would like to provide few “inform” sentences, from which form extract entities. It works well for 1 sentence, but it’s not working for more then 1.
- story: make an appointment, happy path steps: - user: | Cześć intent: greet - action: utter_greet - user: | Chciałem się zapisać na wizytę do lekarza intent: make_appointment - action: action_reset_make_appointment_slots - action: make_appointment_form - active_loop: make_appointment_form - user: | [Jarosław Nowak](persName) intent: inform - user: | [18 stycznia 1900](time) intent: inform - action: make_appointment_form <------ Here it fails, because it predicts: action_reset_make_appointment_slots and it should just keep going on gathering information - active_loop: null - action: utter_make_appointment_slots_values - action: utter_ask_data_correctness - user: | Tak intent: affirm - action: action_submit_make_appointment_form - action: utter_ask_if_date_suitable - user: | Tak. intent: affirm - action: action_make_appointment - action: utter_ask_continue - user: | Nie, to wszystko. intent: deny - action: utter_thank_you
How should it look like? Or it’s not possible to provide few inform sentences, from which form extract entities? If I remove the sencond user response (after form activation), then it works just fine.