♻️ Introduce typebot v6 with events (#1013)

Closes #885
This commit is contained in:
Baptiste Arnaud
2023-11-08 15:34:16 +01:00
committed by GitHub
parent 68e4fc71fb
commit 35300eaf34
634 changed files with 58971 additions and 31449 deletions

View File

@@ -82,7 +82,9 @@ test.describe.parallel('Theme page', () => {
await page.click('button:has-text("Chat")')
// Host avatar
await expect(page.locator('[data-testid="default-avatar"]')).toBeVisible()
await expect(
page.locator('[data-testid="default-avatar"]').nth(1)
).toBeVisible()
await page.click('[data-testid="default-avatar"]')
await page.click('button:has-text("Link")')
await page.fill(
@@ -271,9 +273,7 @@ test.describe('Free workspace', () => {
await page.goto(`/typebots/${typebotId}/theme`)
await expect(page.locator('text="What\'s your name?"')).toBeVisible()
await page.getByRole('button', { name: 'Global' }).click()
await expect(
page.locator('[data-testid="starter-lock-tag"]')
).toBeVisible()
await expect(page.locator('[data-testid="starter-lock-tag"]')).toBeVisible()
await page.click('text=Show Typebot brand')
await expect(
page.locator(