mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
* Dummy commit * Delete js snapshots * Move extended expect and test to fixtures * Fix wrong commit * Update VRT * Dummy commit to run GH actions * Convert test page models to TS * Release notes * Fix typecheck errors * New page models to TS * Fix typecheck error * Fix page name * Put awaits on getTableTotals --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
17 lines
375 B
TypeScript
17 lines
375 B
TypeScript
import { type Locator, type Page } from '@playwright/test';
|
|
|
|
export class MobileReportsPage {
|
|
readonly page: Page;
|
|
readonly overview: Locator;
|
|
|
|
constructor(page: Page) {
|
|
this.page = page;
|
|
|
|
this.overview = page.getByTestId('reports-overview');
|
|
}
|
|
|
|
async waitFor(...options: Parameters<Locator['waitFor']>) {
|
|
await this.overview.waitFor(...options);
|
|
}
|
|
}
|