avniproject / integration-service

Service for integration Avni with other systems
GNU Affero General Public License v3.0
0 stars 2 forks source link

Create tests for different scenarios in the LAHI Glific flow #95

Open vinayvenu opened 1 year ago

vinayvenu commented 1 year ago

Introduction

It is hard to test out different scenarios in Glific due to the number of systems involved. As part of this story, we will create the different possible flows through Whatsapp and push them into integration tests within integration-service so that we are aware of the different possibilities and our response to them

Acceptance criteria

Different possible combinations are available as an API response of Glific (See Sample Extracted Response in the design document Scenarios are created either directly through Whatsapp, or through modification of this API response. Look at the flow result details on the design document or the Glific Flow variable and Glific Flow variable options in the mapping document for details on possible response options

Scenarios

sample_response.json

petmongrels commented 1 year ago