@@ -58,7 +58,7 @@ test.describe('Payment input block', () => {
|
||||
.locator(`[placeholder="MM / YY"]`)
|
||||
.fill('12 / 25')
|
||||
await stripePaymentForm(page).locator(`[placeholder="CVC"]`).fill('240')
|
||||
await page.locator(`text="Pay 30€"`).click()
|
||||
await page.getByRole('button', { name: 'Pay 30,00 €' }).click()
|
||||
await expect(
|
||||
page.locator(`text="Your card has been declined."`)
|
||||
).toBeVisible()
|
||||
@@ -68,7 +68,7 @@ test.describe('Payment input block', () => {
|
||||
const zipInput = stripePaymentForm(page).getByPlaceholder('90210')
|
||||
const isZipInputVisible = await zipInput.isVisible()
|
||||
if (isZipInputVisible) await zipInput.fill('12345')
|
||||
await page.locator(`text="Pay 30€"`).click()
|
||||
await page.getByRole('button', { name: 'Pay 30,00 €' }).click()
|
||||
await expect(page.locator(`text="Success"`)).toBeVisible()
|
||||
})
|
||||
})
|
||||
|
||||
@@ -23,12 +23,9 @@ test.describe('Google Analytics block', () => {
|
||||
await page.goto(`/typebots/${typebotId}/edit`)
|
||||
await page.click('text=Configure...')
|
||||
await page.fill('input[placeholder="G-123456..."]', 'G-VWX9WG1TNS')
|
||||
await page.fill('input[placeholder="Example: Typebot"]', 'Typebot')
|
||||
await page.fill(
|
||||
'input[placeholder="Example: Submit email"]',
|
||||
'Submit email'
|
||||
)
|
||||
await page.fill('input[placeholder="Example: conversion"]', 'conversion')
|
||||
await page.click('text=Advanced')
|
||||
await page.fill('input[placeholder="Example: Typebot"]', 'Typebot')
|
||||
await page.fill('input[placeholder="Example: Campaign Z"]', 'Campaign Z')
|
||||
await page.fill('input[placeholder="Example: 0"]', '0')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user