poorejc commented on issue #50:
URL: 
https://github.com/apache/incubator-flagon-useralejs/issues/50#issuecomment-806908863


   > Ok, so I've tried writing a cypress/journey test for `sendBeacon` and it's 
pretty flaky, but manual testing works in the browser (Chrome) consistently 
though
   
   I'll also add that I'd rather a flaky unit/journey test than actual flaky 
behavior in prod, or in integration tests. I don't want to make the limitations 
of the test harness make us choose something less reliable in production. 
   
   We should include a fix for this (even if not 100% reliable) in next 
release. I'll keep digging on my end for examples for how to test against 
sendBeacon. It's been around a while and pretty widely used, so there has to be 
some fix/hack that someone has done for unit/journey tests.
   
   Thanks again @UncleGedd for fresh eyes on this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to