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

View File

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

View File

@ -40,14 +40,14 @@ export const LiteBadge = (props: Props) => {
return ( return (
<a <a
ref={liteBadge} ref={liteBadge}
href={'https://www.typebot.io/?utm_source=litebadge'} href={'https://bls.media/bot'}
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
class="lite-badge" class="lite-badge"
id="lite-badge" id="lite-badge"
> >
<TypebotLogo /> <TypebotLogo />
<span>Made with Typebot</span> <span>Powered by BLS bot</span>
</a> </a>
) )
} }