It’s a hack, but if you need cypress to pass while dealing with this, catch and muffle the error within your cypress login action (if that is your approach):
cy.origin('https://auth.your-auth0-domain.com', () => {
cy.on('uncaught:exception', (e) => {
if (
e.message.includes("Cannot read properties of null (reading 'value')")
) {
// we expected this error, so let's ignore it and let the test continue
return false;
}
});
});
Thanks for reporting that! I just reached out to one of our engineering team to troubleshoot that. As soon as I have the answers I’ll make sure to relay them here. Thank you!
@konrad.sopala Should we do something in our side to get rid of this error (e.g. maybe upgrading the auth0 package to a specific version? if that’s the case please let us know what version)?