UNPKG

@ugandaemr/esm-patient-appointments-app

Version:
13 lines (9 loc) 337 B
import { type Page } from "@playwright/test"; export class PatientAllergiesPage { constructor(readonly page: Page) {} readonly allergiesTable = () => this.page.getByRole("table", { name: /allergies summary/i }); async goTo(uuid: string) { await this.page.goto("/openmrs/spa/patient/" + uuid + "/chart/Allergies"); } }