Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e tests #94

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

e2e tests #94

wants to merge 2 commits into from

Conversation

taibAli
Copy link

@taibAli taibAli commented Oct 3, 2024

Requirements

  • [x ] This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • [x ] My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • [x ] My work includes tests or is validated by existing tests.

Summary

Screenshots

Related Issue

Other

@ibacher
Copy link
Member

ibacher commented Oct 11, 2024

Please update the yarn.lock file in your commit.

Copy link
Member

@ibacher ibacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is pulling in too much stuff in commands, pages, etc. Try limiting it to just what we need to run the spec.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this file should be committed at all.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing in the playwright-report should be part of this commit.

"@carbon/react": "1.14.0"
},
"packageManager": "[email protected]"
"name": "@openmrs/esm-laboratory-app",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This JSON file should not be reformatted like this. The formatting should be 2-space indentation.

"serve": "webpack serve --mode=development",
"build": "webpack --mode production",
"analyze": "webpack --mode=production --env analyze=true",
"lint": "TIMING=1 eslint src --ext js,jsx,ts,tsx",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why you've modified this script?

jq -n \
--arg apps "$apps" \
--arg app_names "$(echo ${app_names[@]})" \
'{"@openmrs/esm-primary-navigation-app": "next", "@openmrs/esm-home-app": "next", "@openmrs/esm-patient-chart-app": "next"} + (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't explicitly need the patient-chart-app here.

@@ -0,0 +1,49 @@
#!/usr/bin/env bash -eu
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably actually doesn't work here because there is not Yarn workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants