import { Page } from '@playwright/test' import * as po from './actions' export class General { #page: Page constructor({ page }: { page: Page }) { this.#page = page } async uploadLogo({ path }: { path: string }): Promise { await po.uploadLogo(path, this.#page) } async resetLogo(): Promise { await po.resetLogo(this.#page) } async userAuthenticatesWithOTP({ deviceName }: { deviceName: string }): Promise { await po.userAuthenticatesWithOTP(this.#page, deviceName) } }