Skip to content

Fix CodeMark Playwright Tests.#783

Merged
chrischrischris merged 2 commits intomainfrom
cm-test
Feb 13, 2026
Merged

Fix CodeMark Playwright Tests.#783
chrischrischris merged 2 commits intomainfrom
cm-test

Conversation

@bstopp
Copy link
Contributor

@bstopp bstopp commented Feb 12, 2026

Description

Fixes an unstable playwright test for the codemark. This supersedes #777

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bstopp bstopp requested a review from bosschaert February 12, 2026 18:28
@aem-code-sync
Copy link

aem-code-sync bot commented Feb 12, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@bstopp
Copy link
Contributor Author

bstopp commented Feb 12, 2026

Ran this command and every run passed:

for i in {1..10}; do PW_TEST_HTML_REPORT_OPEN='never' npx playwright test -g "Add code mark" --project=chromium; done

@bstopp
Copy link
Contributor Author

bstopp commented Feb 12, 2026

Why does this change work? Watching the tests, it appears that page.waitForTimeout... is causing the ProseMirror editor to reload.

@chrischrischris chrischrischris merged commit 55c1e92 into main Feb 13, 2026
4 of 5 checks passed
@chrischrischris chrischrischris deleted the cm-test branch February 13, 2026 12:58
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