microsoft / CopilotStudioSamples

MIT License
297 stars 239 forks source link

Latest CPS feature not being supported in PVATestFramework #218

Open tarun-patnala opened 3 months ago

tarun-patnala commented 3 months ago

Unable to test bot responses with new lines conversion of chat to json file is failing if Bot response have any new lines. If we replace new lines with \n conversion of chat to json is successful but tests are failing due to \n as response received doesn't contain newline instead it contains new lines itself.

Also we have few implementations where we have to send and receive events with Json payloads in the value which we are unable to validate through PVA Test framework.

Can we add support for newline or \n so tests will continue to pass? Also can we introduce a mechanism to send and receive events with json payloads?

We have API integrations and the response from the API are needed to exchange information between UI and CPS hence the need for events.