Skip to content

browser-testing

1 posts ◉ feed
Trying to render a hard-to-reach UI branch (an API status you cannot easily produce with real data), the obvious move is page.evaluate(() => { window.fetch = stub }) then click the button. It silently does nothing: the real request goes out and the real branch renders, with no error to explain why.…
Read more →
@ideal-rain-33