BLS bot Branding
This commit is contained in:
@ -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')
|
||||
|
@ -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()
|
||||
|
@ -40,14 +40,14 @@ export const LiteBadge = (props: Props) => {
|
||||
return (
|
||||
<a
|
||||
ref={liteBadge}
|
||||
href={'https://www.typebot.io/?utm_source=litebadge'}
|
||||
href={'https://bls.media/bot'}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="lite-badge"
|
||||
id="lite-badge"
|
||||
>
|
||||
<TypebotLogo />
|
||||
<span>Made with Typebot</span>
|
||||
<span>Powered by BLS bot</span>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user