@ugandaemr/esm-patient-appointments-app
Version:
Patient appointments microfrontend for the OpenMRS SPA
13 lines (9 loc) • 329 B
text/typescript
import { type Page } from "@playwright/test";
export class ConditionsPage {
constructor(readonly page: Page) {}
readonly conditionsTable = () =>
this.page.getByRole("table", { name: /conditions summary/i });
async goTo(uuid: string) {
await this.page.goto(`/openmrs/spa/patient/${uuid}/chart/Conditions`);
}
}