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

(chore) Bump playwright #1715

Merged
merged 3 commits into from
Mar 6, 2024
Merged

(chore) Bump playwright #1715

merged 3 commits into from
Mar 6, 2024

Conversation

kdaud
Copy link
Member

@kdaud kdaud commented Mar 5, 2024

Requirements

  • 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.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

This PR upgrades playwright to the latest version 1.42.1. See release notes at https://playwright.dev/docs/release-notes

Screenshots

Related Issue

Other

@denniskigen
Copy link
Member

Please add a conventional commit label to your PR title. The appropriate one here is (chore). Also, see https://github.com/openmrs/openmrs-esm-patient-chart/blob/main/README.md#updating-playwright.

@kdaud kdaud changed the title Upping playwright to 1.42.0 (chore) Upping playwright to 1.42.0 Mar 6, 2024
@kdaud kdaud changed the title (chore) Upping playwright to 1.42.0 (chore) Upping playwright to 1.42.1 Mar 6, 2024
@kdaud kdaud force-pushed the Upping branch 2 times, most recently from d1ab22d to 1c2682c Compare March 6, 2024 06:19
@denniskigen denniskigen changed the title (chore) Upping playwright to 1.42.1 (chore) Bump playwright Mar 6, 2024
@kdaud
Copy link
Member Author

kdaud commented Mar 6, 2024

@denniskigen we've a failing test in program-enrollment. I'm able to reproduce locally and will send a fix soon.

@kdaud
Copy link
Member Author

kdaud commented Mar 6, 2024

Should I include the fix in this same commit or send a separate PR?

@denniskigen
Copy link
Member

Within the same PR

@kdaud
Copy link
Member Author

kdaud commented Mar 6, 2024

@denniskigen I want to do some troubleshooting in GitHub actions but unfortunately the 'Re-run jobs' functionality is disabled from the user with id kdaud

@kdaud kdaud force-pushed the Upping branch 2 times, most recently from 876a346 to f4fdf30 Compare March 6, 2024 09:15
@denniskigen
Copy link
Member

Try again

@kdaud
Copy link
Member Author

kdaud commented Mar 6, 2024

@denniskigen it seems like the latest playwright version is exposing an issue in one of the E2E test which could not be detected by the older version.

@kdaud
Copy link
Member Author

kdaud commented Mar 6, 2024

I'm looking into the issue...

Copy link
Member

@denniskigen denniskigen left a comment

Choose a reason for hiding this comment

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

Thanks, @kdaud. There was a bug in the test where an assertion was checking for the wrong completion date.

@kdaud
Copy link
Member Author

kdaud commented Mar 6, 2024

@denniskigen the latest playwright version runs the E2E tests faster. As a result the modified value for completion date gets overridden by the older value causing the test to fail at assertion level. So clearing the date fields before editing the dates resolves the issue.

@denniskigen
Copy link
Member

Excellent sleuthing work, @kdaud! Faster e2e execution is a great value add!

@denniskigen denniskigen merged commit e9b15da into openmrs:main Mar 6, 2024
6 checks passed
usamaidrsk pushed a commit to usamaidrsk/openmrs-esm-patient-chart that referenced this pull request Mar 11, 2024
* (chore) Bump playwright

* Fixup - use correct completion date

* Clear date fields before editing 'enrollmentDate' and 'completionDate' for program enrollment

---------

Co-authored-by: Dennis Kigen <[email protected]>
@kdaud kdaud deleted the Upping branch April 9, 2024 06:53
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