2
0
Files
bot/apps/builder/playwright/services/selectorUtils.ts
Baptiste Arnaud bfed599695 (editor) Add unpublish and close typebot options
Introducing more menu items on the "Publised" button in the editor. You can now unpublish a typebot and close it to new
responses
2022-10-06 08:33:46 +02:00

10 lines
324 B
TypeScript

import { Page } from '@playwright/test'
export const deleteButtonInConfirmDialog = (page: Page) =>
page.locator('section[role="alertdialog"] button:has-text("Delete")')
export const stripePaymentForm = (page: Page) =>
page
.frameLocator('#typebot-iframe')
.frameLocator('[title="Secure payment input frame"]')