UNPKG

external-services-automation

Version:

External services automation library for Playwright and Cucumber

17 lines (16 loc) 609 B
import { Locator, Page } from '@playwright/test'; export declare class LoginPage { readonly page: Page; readonly emailInput: Locator; readonly nextButton: Locator; readonly passwordInput: Locator; readonly email_not_exists: Locator; readonly createAccountLink: Locator; constructor(page: Page); navigate(): Promise<void>; enterEmail(email: string): Promise<void>; enterPassword(password: string): Promise<void>; getEmailNotExistsMessage(): Promise<string | null>; login(email: string, password?: string): Promise<void>; goToRegisterPage(): Promise<void>; }