How to test dynamic content in Playwright with API mocking