import { type Page, type Locator } from "@playwright/test"; import { fillDatePicker } from "../utils/date-picker"; export class InvoiceCreateFormPage { readonly page: Page; readonly invoiceTypeSelect: Locator; readonly purchaseOrderSelect: Locator; readonly supplierCombobox: Locator; readonly payableControlAccountSelect: Locator; readonly distributionAccountSelect: Locator; readonly documentDateInput: Locator; readonly supplierInvoiceNumberInput: Locator; readonly previewLinesTable: Locator; readonly previewLinesHeading: Locator; readonly addLineButton: Locator; readonly submitButton: Locator; readonly cancelButton: Locator; constructor(page: Page) { this.page = page; // The app-shell Select component renders a