Details
-
Task
-
Status: Done
-
Must
-
Resolution: Fixed
-
None
-
None
-
None
Description
The test on Push Job is failing because of the following reasons:
1. The dev server is running on the attached mode
2. Playwright is configured to spin a dev server on CI
Workflow file:
https://github.com/openmrs/openmrs-esm-patient-management/blob/main/.github/workflows/e2e.yml
Failing run:
https://github.com/openmrs/openmrs-esm-patient-management/actions/runs/3995764975/jobs/6855012120
Steps to resolve:
1. Remove the WebServer config from the playwright config file
2. Update the `testOnPush` job to run the dev server in detached mode (add '&' symbol to the command)
`run: yarn start --backend "http://localhost:9000" &`
3. Update the `testOnPR` job to run the dev server. (refer to this file. Add the step after the browser installation. Start the dev server using `yarn start`)
- name: Run dev server run: yarn start &
Gliffy Diagrams
Attachments
Issue Links
- mentioned in
-
Page Loading...