DataDog / ecommerce-workshop

Example eCommerce App for workshops and observability
Other
89 stars 112 forks source link

Add to cart does not work in embedded synthetic browser test recorder #188

Open stevedatadog opened 2 years ago

stevedatadog commented 2 years ago

Clicking on the Add to Cart button for a product in the embedded synthetic browser test recorder results in "Your cart is empty."

I see no relevant errors in the browser console, logs, or traces. I suspect it might be a cookie problem related to being in an iframe. I dug around in the code to find where I could set SameSite=None on the token and guest_token cookies, but failed.

stanleegoodspeed commented 2 years ago

Intro to Synthetics lab for reference: https://learn.datadoghq.com/enrol/index.php?id=39

stevedatadog commented 2 years ago

Straight to the lab: https://learn.datadoghq.com/mod/lti/view.php?id=434