https://cypress.io logo
if you look closely, you will see that in the blog...
# e2e-testing
m
if you look closely, you will see that in the blog the author passes the whole object as a parameter, not just a key. You need to resolve the cy.env call first and then access the object's attributes