Tuesday, June 18, 2024
2 changes · saas-17.2
Resolved issues and error corrections
The live chat bot flow has been fixed so portal users can be forwarded to an operator without the conversation failing. This improves the customer support experience by ensuring logged-in portal customers can complete automated chat handoffs reliably.
Original PR description
Before this PR, the "forward_operator" chat bot step would fail when logged in as a portal user. Indeed, this step post a message which requires reading the partner of the operator but portal users are not allowed to do so. This PR fixes the issue. opw-3987375
This change fixes an issue where some mail-related automated tests could get stuck indefinitely after an error. It improves the reliability of the testing process, helping developers detect issues faster and maintain product quality.
Original PR description
Before this PR, a test could hang indefinitely if an error occured. The flow is the following: - error occurs - the contains helper reset his internal `hasUsedContainsPositively` following the `after` callback - an error occurs if the pending contains is a negative assertion (count=0) - hoot never keeps going The `hasUsedContainsPositively` variable should not be cleaned by the contains instances. It should only be cleaned once when the test is done.