Skip to content

Keep node resolution out of the unit test suite#120

Open
smnandre wants to merge 1 commit into
playwright-php:mainfrom
smnandre:sa/node-resolver-tests
Open

Keep node resolution out of the unit test suite#120
smnandre wants to merge 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!

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