Skip to content

chore(test runner): run test runner tests under bun on CI - #43428

Merged
Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:bun-tests
Oct 15, 2026
Merged

Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:bun-tests

Conversation

@pavelfeldman

@pavelfeldman Pavel Feldman (pavelfeldman) commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Copy the config module object when the config has no default export. Bun makes it read-only.
  • Under bun, apply source maps of .js files to test locations.
  • Move the expectation reporter to tests/config. Support [skip], [fixme] and [fail], # comments, and entries for files and describe blocks.
  • tests/playwright-test/bun-expectations.conf: [skip] when bun does not have the feature, [fixme] when Playwright needs a fix. Relax checks that depend on the runtime output format.
  • Bidi expectations are now .conf files with > between title parts and [fixme] for all entries.
  • Add a test runner bot that runs under bun on ubuntu-large.

@pavelfeldman Pavel Feldman (pavelfeldman) changed the title chore(test runner): fix config and source maps under bun, adjust tests chore(test runner): fix config and source maps under bun, skip or relax tests Oct 15, 2026
Comment thread packages/playwright/src/common/configLoader.ts
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

5154 passed, 614 skipped


Merge workflow run.

- Copy the config module object when there is no default export, bun makes it read-only.
- Apply source maps of .js files to test locations under bun.
- Move the expectation reporter to tests/config. Support [skip], [fixme] and [fail], comments, and entries for files and describe blocks.
- Mark tests in bun-expectations.conf: [skip] when bun does not have the feature, [fixme] when Playwright needs a fix. Relax checks that depend on the runtime output format.
- Rename bidi expectations to .conf, use ">" between title parts and [fixme] for all entries.
- Add a test runner bot that runs under bun on ubuntu-large.
@pavelfeldman Pavel Feldman (pavelfeldman) changed the title chore(test runner): fix config and source maps under bun, skip or relax tests chore(test runner): run test runner tests under bun on CI Oct 15, 2026
@pavelfeldman
Pavel Feldman (pavelfeldman) merged commit b146af2 into microsoft:main Oct 15, 2026
23 of 25 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

4 flaky ⚠️ [chromium-library] › library/chromium/chromium.spec.ts:213 › should intercept service worker requests (main and within) `@chromium-playwright-x64-ubuntu24-64-core-node22`
⚠️ [chromium-library] › library/video.spec.ts:762 › screencast › should work with video+trace `@chromium-playwright-x64-ubuntu24-64-core-node22`
⚠️ [firefox-library] › library/browsercontext-cookies-third-party.spec.ts:257 › third party 'Partitioned;' cookies `@firefox-playwright-x64-ubuntu24-64-core-node22`
⚠️ [firefox-library] › library/browsercontext-cookies-third-party.spec.ts:470 › top level 'Partitioned;' cookie and same origin iframe `@firefox-playwright-x64-ubuntu24-64-core-node22`

23552 passed, 710 skipped


Merge workflow run.

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