🏗️ Use tsup for bot and typebot-js packages

This commit is contained in:
Baptiste Arnaud
2022-10-10 08:28:11 +02:00
committed by Baptiste Arnaud
parent 0b58f4e976
commit 84163c6585
27 changed files with 474 additions and 739 deletions

View File

@@ -21,7 +21,6 @@ test.describe.parallel('Settings page', () => {
await expect(
typebotViewer(page).locator('a:has-text("Made with Typebot")')
).toHaveAttribute('href', 'https://www.typebot.io/?utm_source=litebadge')
await page.click('button:has-text("General")')
await page.click('text="Typebot.io branding"')
await expect(
typebotViewer(page).locator('a:has-text("Made with Typebot")')

View File

@@ -26,7 +26,6 @@ test.describe.parallel('Theme page', () => {
await expect(
typebotViewer(page).locator('button >> text="Go"')
).toBeVisible()
await page.click('button:has-text("General")')
// Font
await page.fill('input[type="text"]', 'Roboto Slab')

View File

@@ -81,6 +81,10 @@ test('can update workspace info', async ({ page }) => {
await page.fill('input[placeholder="Search..."]', 'building')
await page.click('text="🏦"')
await page.fill('input[value="Pro workspace"]', 'My awesome workspace')
await page.getByTestId('typebot-logo').click({ force: true })
await expect(
page.getByRole('button', { name: '🏦 My awesome workspace Pro' })
).toBeVisible()
})
test('can manage members', async ({ page }) => {