Skip to content

Run browser tests only in Playwright - #106

Merged
Project516 merged 4 commits into
masterfrom
test/playwright-only
Oct 7, 2026
Merged

Project516 merged 4 commits into
masterfrom
test/playwright-only

Conversation

@Project516

Copy link
Copy Markdown
Owner

Removes the mocha-headless-chrome tests job and makes tests-browsers (Playwright, chromium/firefox/webkit, isolated/plain) the gate.

  • tests is now a small job that needs tests-browsers and fails unless it succeeded, so the required check name stays.
  • tests-browsers no longer has continue-on-error.
  • Removed scripts/dump-test-page.mjs, the mocha-headless-chrome scripts (test, test:all, test:browser:* except playwright, pretest) and the unused devDependencies mocha-headless-chrome, puppeteer-core, start-server-and-test, npm-run-all, plus the puppeteer entry in pnpm-workspace.yaml. Lockfile updated.
  • AGENTS.md points at pnpm run test:browser:playwright <browser> <mode>.

Evidence: 200 of 200 tests-browsers jobs passed over 34 CI runs from 2026-10-06 to 2026-10-07, 27 cancelled by superseding pushes, 0 failures. No changelog entry, since this is CI and dev tooling only.

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 13 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 09597945-b3bf-4271-949f-2f4ac3d95a23
📥 Commits

Reviewing files that changed from the base of the PR and between 33345a5 and 5f9d69b.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • .github/workflows/CI.yml
  • AGENTS.md
  • package.json
  • pnpm-workspace.yaml
  • scripts/dump-test-page.mjs
  • src/pthread-fiber/pthread_fiber.c
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@project516-review-bot project516-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR migrates browser testing from mocha-headless-chrome to Playwright. It removes the old tests job (which ran mocha-headless-chrome with puppeteer), makes tests-browsers (Playwright matrix across chromium/firefox/webkit × isolated/plain) the required gate by removing continue-on-error, and adds a new lightweight tests job that depends on tests-browsers and fails if any matrix leg failed. The mocha-headless-chrome scripts, dependencies (mocha-headless-chrome, puppeteer-core, start-server-and-test, npm-run-all), and the helper script scripts/dump-test-page.mjs are removed. CI evidence shows 200/200 tests-browsers jobs passed over 34 runs.


review-bot, model nvidia/nemotron-3-ultra-550b-a55b:free, verdict approve

@project516-review-bot project516-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The PR replaces Mocha-headless-Chrome browser tests with Playwright-based tests for Chromium, Firefox, and WebKit in isolated/plain modes, plus a separate JSPi mode job. It updates the CI workflow to make Playwright tests the gate, removes related dependencies and scripts, and updates documentation. The change includes retry logic for Playwright installation to handle flaky apt mirrors.


review-bot, model nvidia/nemotron-3-super-120b-a12b:free, verdict approve

@project516-review-bot project516-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The PR replaces the mocha-headless-chrome browser tests with Playwright, making the Playwright tests the gate. It removes the old test job and dependencies, adds a new checker job that depends on the Playwright tests, and updates documentation. The changes include removing mocha-headless-chrome, puppeteer-core, and related scripts, adding retry logic for browser and native FFmpeg installs, and updating AGENTS.md to reflect the new test command.


review-bot, model nvidia/nemotron-3-super-120b-a12b:free, verdict approve

@Project516

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@Project516
Project516 merged commit 84bfd43 into master Oct 7, 2026
31 checks passed
@Project516
Project516 deleted the test/playwright-only branch October 7, 2026 17:26
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.

1 participant