Cypress - Authentication and Sessions
You want to test that a cookie named
theme is set to dark only after clicking a button. Which Cypress code correctly waits for the button click and then verifies the cookie?