Skip to content

Keep node resolution out of the unit test suite#120

Merged
smnandre merged 1 commit into
playwright-php:mainfrom
smnandre:sa/node-resolver-tests
Jul 23, 2026
Merged

Keep node resolution out of the unit test suite#120
smnandre merged 1 commit into
playwright-php:mainfrom
smnandre:sa/node-resolver-tests

Conversation

@smnandre

Copy link
Copy Markdown
Member

PlaywrightFactoryTest::testCreateWithDefaultConfig failed in CI on a markdown-only PR. Node was present: it just answered slower than the resolver's 5s timeout, and NodeBinaryResolver reports any failure as "not found".

Two unit tests resolved Node against the real machine. Both are already covered by tests/Integration/PlaywrightFactoryTest.php, where CI installs Node.

No production code touched.

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@smnandre
smnandre merged commit 684d7cd into playwright-php:main Jul 23, 2026
11 checks passed
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