Open mcollina opened 3 months ago
Both the pino test and airtap override console.error
(here and here). Airtap wraps and calls the original function so that should not be a problem. Pino only intercepts a single call and then restores the original function, which I think should work fine as well. Both use simple assignment (console.error = x
). Hm.
Would recommend debugging it, which is easiest with a non-headless browser, e.g. using airtap-default
.
Where does airtap does the wrapping? Might it be that it defines the fields in a non-writable way?
Currently our
npm run browser-test
is not working anymore.I've tried to adding it back via
playwright
, but stumbled on:This the config file I'm trying:
cc @vweevers