@ugandaemr/esm-patient-appointments-app
Version:
Patient appointments microfrontend for the OpenMRS SPA
13 lines (9 loc) • 337 B
text/typescript
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");
}
}