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()
|
||||
|
||||
Reference in New Issue
Block a user