Pest 4 + Playwright: Combiner assets returning 404 during browser tests

Hi,

I’m having an issue with browser tests using Pest 4 and Playwright.

All assets generated by the Combiner are unavailable (CSS and JS), which causes the tests to fail.

When running the test in debug mode, I can see that the asset URL is generated correctly in the page source, for example:

http://127.0.0.1:44527/combine/797f24cc7e39f90d447ea38c483205ae-1782468093

However, in the browser console the asset returns a 404 error, and opening the URL in a new tab displays the following message:

/* We’re sorry, but something went wrong and the page cannot be displayed. */

What is the problem here?