Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions e2e/specs/home-page-test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { expect } from '@playwright/test';

// This test is a sample E2E test. You can delete it.

test('Home Page test', async ({ page }) => {
const homePage = new HomePage(page);
await homePage.goto();
await expect(homePage.page.getByRole('link', { name: 'Home' })).toBeVisible();
});
// test('Home Page test', async ({ page }) => {
// const homePage = new HomePage(page);
// await homePage.goto();
// await expect(homePage.page.getByRole('link', { name: 'Home' })).toBeVisible();
// });
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@openmrs/esm-form-engine-lib": "next",
"@openmrs/esm-framework": "next",
"@openmrs/esm-patient-common-lib": "10.2.1-pre.8033",
"@openmrs/esm-patient-common-lib": "next",
"@playwright/test": "1.45.3",
"@swc/cli": "^0.3.12",
"@swc/core": "^1.3.89",
Expand Down

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions packages/esm-nutrition-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { configSchema } from './config-schema';
import { createDashboardLink as createPatientChartDashboardLink } from '@openmrs/esm-patient-common-lib';
import { patientChartDashboardMeta } from './dashboard.meta';
import NutritionSummary from './nutrition/nutrition-summary.component';
import ClinicalViewDivider from './clinical-views/clinical-view-divider.component';
import { registerExpressionHelper } from '@openmrs/esm-form-engine-lib';
import { getPatientEncounterDates } from './utils/helpers';

Expand All @@ -22,8 +21,6 @@ export function startupApp() {
registerExpressionHelper('getPreviousEncounterDates', getPatientEncounterDates);
}

export const clinicalViewPatientDivider = getSyncLifecycle(ClinicalViewDivider, options);

// t('Nutrition', 'Nutrition')
export const patientNutritionSummaryDashboardLink = getSyncLifecycle(
createPatientChartDashboardLink({ ...patientChartDashboardMeta, moduleName }),
Expand Down
6 changes: 0 additions & 6 deletions packages/esm-nutrition-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
"webservices.rest": "^2.2.0"
},
"extensions": [
{
"name": "clinical-view-section",
"component": "clinicalViewPatientDivider",
"slot": "patient-chart-dashboard-slot",
"order": 20
},
{
"name": "patient-nutrition-summary-dashboard",
"component": "patientNutritionSummaryDashboardLink",
Expand Down
2 changes: 0 additions & 2 deletions packages/esm-nutrition-app/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"add": "Add",
"clinicalViews": "Clinical views",
"customViews": "Clinical views tailored to patients' conditions and enrolled care programs.",
"date": "Date",
"emptyStateText": "There are no <1>{{displayText}}</1> to display",
"Nutrition": "Nutrition",
Expand Down
Loading
Loading