UNPKG

external-services-automation

Version:

External services automation library for Playwright and Cucumber

15 lines (14 loc) 591 B
import { Page, Locator } from '@playwright/test'; export type PlanType = 'lite' | 'basic' | 'growth' | 'pro' | 'business' | 'enterprise'; export declare class UpdateSubscriptionPage { readonly page: Page; readonly pageContainer: Locator; readonly planCardsContainer: Locator; readonly continueButton: Locator; readonly backButton: Locator; readonly selectPlanButton: (planType: PlanType) => Locator; constructor(page: Page); selectPlan(planType: PlanType): Promise<void>; clickContinue(): Promise<void>; isOnUpdateSubscriptionPage(): Promise<void>; }