render > should render 2`] = `
`;
-exports[`TicketRouterForm > updates > should save changes 1`] = `
-
-
-
-
-
-
-
- When a contact arrives at this point in your flow...
-
-
-
-
-
-
-
- Send the contact a message
-
-
-
-
- Send a WhatsApp message (New)
-
-
-
-
- Wait for the contact to respond
-
-
-
-
- Smartly wait for response (New)
-
-
-
-
- Call WeniGPT (New)
-
-
-
-
- Send somebody else a message
-
-
-
-
- Label the incoming message
-
-
-
-
- Add a URN for the contact
-
-
-
-
- Add the contact to a group
-
-
-
-
- Remove the contact from a group
-
-
-
-
- Update the contact
-
-
-
-
- Send email
-
-
-
-
- Save a result for this flow
-
-
-
-
- Call a webhook
-
-
-
-
- Call Zapier
-
-
-
-
- Enter another flow
-
-
-
-
- Start somebody else in a flow
-
-
-
-
- Open a ticket with a human agent
-
-
-
-
- Send the contact airtime
-
-
-
-
- Split by intent
-
-
-
-
- Automatic Classify (New)
-
-
-
-
- Split by a custom expression
-
-
-
-
- Split by contact field
-
-
-
-
- Split by a result in the flow
-
-
-
-
- Split randomly
-
-
-
-
- Split by group membership
-
-
-
-
- Split by URN type
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`TicketRouterForm > updates > should save changes 2`] = `
-[MockFunction spy] {
- "calls": [
- [
- {
- "inboundConnections": {},
- "node": {
- "actions": [
- {
- "assignee": {
- "created_on": "2021-06-10T21:44:30.971221Z",
- "email": "agent.user@gmail.com",
- "first_name": "Agent",
- "last_name": "User",
- "name": "Agent User",
- "role": "agent",
- "value": "agent.user@gmail.com",
- },
- "body": "Where are my cookies",
- "result_name": "My Ticket Result",
- "ticketer": {
- "name": "Email (bob@acme.com)",
- "uuid": "1165a73a-2ee0-4891-895e-768645194862",
- },
- "topic": {
- "created_on": "2021-09-01T01:06:39.178493Z",
- "name": "General",
- "uuid": "6f38eba0-d673-4a35-82df-21bae2b6d466",
- "value": "6f38eba0-d673-4a35-82df-21bae2b6d466",
- },
- "type": "open_ticket",
- "uuid": "b1f332f3-bdd3-4891-aec5-1843a712dbf1",
- },
- ],
- "exits": [
- {
- "destination_uuid": null,
- "uuid": "061fc171-8b79-4636-b892-bd0ea5aa9b42",
- },
- {
- "destination_uuid": null,
- "uuid": "1dce2b34-9aab-4e20-81c4-3f0408dcb671",
- },
- ],
- "router": {
- "cases": [
- {
- "arguments": [
- "Success",
- ],
- "category_uuid": "763e4844-3e1b-407a-a1b5-5fdfcd308b41",
- "type": "has_category",
- "uuid": "1e47a1e1-3c67-4df5-adf1-da542c789adb",
- },
- ],
- "categories": [
- {
- "exit_uuid": "061fc171-8b79-4636-b892-bd0ea5aa9b42",
- "name": "Success",
- "uuid": "763e4844-3e1b-407a-a1b5-5fdfcd308b41",
- },
- {
- "exit_uuid": "1dce2b34-9aab-4e20-81c4-3f0408dcb671",
- "name": "Failure",
- "uuid": "477ac8b4-25e2-483a-8686-2d1332c4da1c",
- },
- ],
- "default_category_uuid": "477ac8b4-25e2-483a-8686-2d1332c4da1c",
- "operand": "@results.my_ticket_result",
- "type": "switch",
- },
- "uuid": "132de855-4042-4dc1-a18f-cc2e6a8f790a",
- },
- "ui": {
- "config": {},
- "position": null,
- "type": "split_by_ticket",
- },
- },
- ],
- ],
- "results": [
- {
- "type": "return",
- "value": undefined,
- },
- ],
-}
-`;
-
-exports[`TicketRouterForm > updates > should save changes 3`] = `
-
-
-
-
-
-
-
- When a contact arrives at this point in your flow...
-
-
-
-
-
-
-
- Send the contact a message
-
-
-
-
- Send a WhatsApp message (New)
-
-
-
-
- Wait for the contact to respond
-
-
-
-
- Smartly wait for response (New)
-
-
-
-
- Call WeniGPT (New)
-
-
-
-
- Send somebody else a message
-
-
-
-
- Label the incoming message
-
-
-
-
- Add a URN for the contact
-
-
-
-
- Add the contact to a group
-
-
-
-
- Remove the contact from a group
-
-
-
-
- Update the contact
-
-
-
-
- Send email
-
-
-
-
- Save a result for this flow
-
-
-
-
- Call a webhook
-
-
-
-
- Call Zapier
-
-
-
-
- Enter another flow
-
-
-
-
- Start somebody else in a flow
-
-
-
-
- Open a ticket with a human agent
-
-
-
-
- Send the contact airtime
-
-
-
-
- Split by intent
-
-
-
-
- Automatic Classify (New)
-
-
-
-
- Split by a custom expression
-
-
-
-
- Split by contact field
-
-
-
-
- Split by a result in the flow
-
-
-
-
- Split randomly
-
-
-
-
- Split by group membership
-
-
-
-
- Split by URN type
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
- Agent User
-
-
-
-
- Viewer User
-
-
-
-
- Admin User
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`TicketRouterForm > updates > should save changes 4`] = `
+exports[`TicketRouterForm > updates > should save changes 2`] = `
[MockFunction spy] {
"calls": [
[
diff --git a/src/components/flow/routers/whatsapp/sendproduct/__snapshots__/SendWhatsAppProductRouterForm.test.tsx.snap b/src/components/flow/routers/whatsapp/sendproduct/__snapshots__/SendWhatsAppProductRouterForm.test.tsx.snap
index c1cf4099d..50bed864f 100644
--- a/src/components/flow/routers/whatsapp/sendproduct/__snapshots__/SendWhatsAppProductRouterForm.test.tsx.snap
+++ b/src/components/flow/routers/whatsapp/sendproduct/__snapshots__/SendWhatsAppProductRouterForm.test.tsx.snap
@@ -100,7 +100,7 @@ exports[`SendWhatsAppProductRouterForm > automatic product search > should rende
class="_options_wrapper_08dd12"
data-testid="temba_select_options_type"
id="temba_select_options_type"
- style="margin-top: 0px; width: -24px; display: none;"
+ style="margin-top: 0px; width: 0px; display: none;"
>
automatic product search > should rende
class="_options_wrapper_08dd12"
data-testid="temba_select_expressions_type"
id="temba_select_expressions_type"
- style="margin-top: 0px; width: -24px; display: none;"
+ style="margin-top: 0px; width: 0px; display: none;"
/>
@@ -742,7 +742,7 @@ exports[`SendWhatsAppProductRouterForm > automatic product search > should rende
`;
-exports[`SendWhatsAppProductRouterForm > automatic product search > should render 2`] = `
+exports[`SendWhatsAppProductRouterForm > automatic product search > should save an automatic product sending 1`] = `