2
0

BLS bot Branding

This commit is contained in:
2024-09-12 14:04:12 +02:00
parent 2c69a556c1
commit db13e54a94
3 changed files with 7 additions and 7 deletions

View File

@@ -36,8 +36,8 @@ test.describe.parallel('Settings page', () => {
})
await page.goto(`/typebots/${typebotId}/settings`)
await expect(
page.locator('a:has-text("Made with Typebot")')
).toHaveAttribute('href', 'https://www.typebot.io/?utm_source=litebadge')
page.locator('a:has-text("Powered by BLS bot")')
).toHaveAttribute('href', 'https://bls.media/bot')
await page.click('button:has-text("Typing")')
await page.fill('[data-testid="speed"] input', '350')
await page.fill('[data-testid="max-delay"] input', '1.5')

View File

@@ -28,10 +28,10 @@ test.describe.parallel('Theme page', () => {
// Branding
await page.getByRole('button', { name: 'Global' }).click()
await expect(
page.locator('a:has-text("Made with Typebot")')
).toHaveAttribute('href', 'https://www.typebot.io/?utm_source=litebadge')
page.locator('a:has-text("Powered by BLS bot")')
).toHaveAttribute('href', 'https://bls.media/bot')
await page.click('text="Show Typebot brand"')
await expect(page.locator('a:has-text("Made with Typebot")')).toBeHidden()
await expect(page.locator('a:has-text("Powered by BLS bot")')).toBeHidden()
// Font
await page.getByRole('button', { name: 'Font' }).click()