2
0

fix(bot): ️ Better incoming variable parsing

This commit is contained in:
Baptiste Arnaud
2022-06-24 16:44:41 +02:00
parent 7c3345ab13
commit 554365d645
5 changed files with 15 additions and 22 deletions

View File

@ -28,23 +28,7 @@ test.describe.parallel('Embed bubble block', () => {
await page.goto(`/typebots/${typebotId}/edit`)
await page.click('text=Click to edit...')
await page.fill('input[placeholder="Paste the link or code..."]', pdfSrc)
await expect(page.locator('iframe#embed-bubble-content')).toHaveAttribute(
'src',
pdfSrc
)
await page.fill(
'input[placeholder="Paste the link or code..."]',
iframeCode
)
await expect(page.locator('iframe#embed-bubble-content')).toHaveAttribute(
'src',
'https://typebot.io'
)
await page.fill('input[placeholder="Paste the link or code..."]', siteSrc)
await expect(page.locator('iframe#embed-bubble-content')).toHaveAttribute(
'src',
siteSrc
)
await expect(page.locator('text="Show embed"')).toBeVisible()
})
})