Introduce bot v2 in builder (#328)

Also, the new engine is the default for updated typebots for viewer

Closes #211
This commit is contained in:
Baptiste Arnaud
2023-02-21 15:25:14 +01:00
committed by GitHub
parent 527dc8a5b1
commit debdac12ff
208 changed files with 4462 additions and 5236 deletions

View File

@@ -30,7 +30,8 @@
"type": "email input",
"options": {
"labels": { "button": "Send", "placeholder": "Type your email..." },
"variableId": "qyLW6xD1AyLeedso2tHmhw"
"variableId": "qyLW6xD1AyLeedso2tHmhw",
"retryMessageContent": "This email doesn't seem to be valid. Can you type it again?"
},
"outgoingEdgeId": "4yg9V76fdDntpDEw6H3tvU"
}

View File

@@ -30,7 +30,8 @@
"type": "email input",
"options": {
"labels": { "button": "Send", "placeholder": "Type your email..." },
"variableId": "qyLW6xD1AyLeedso2tHmhw"
"variableId": "qyLW6xD1AyLeedso2tHmhw",
"retryMessageContent": "This email doesn't seem to be valid. Can you type it again?"
},
"outgoingEdgeId": "4yg9V76fdDntpDEw6H3tvU"
}

View File

@@ -4,6 +4,4 @@ export const deleteButtonInConfirmDialog = (page: Page) =>
page.locator('section[role="alertdialog"] button:has-text("Delete")')
export const stripePaymentForm = (page: Page) =>
page
.frameLocator('#typebot-iframe')
.frameLocator('[title="Secure payment input frame"]')
page.frameLocator('[title="Secure payment input frame"]')