prescottprue/cypress-firebase

bug(commands): getAuthUser command not working

negomi opened this issue · 4 comments

The docs briefly mention getAuthUser as a custom command added by this package.

I can also see it in the code, but calling cy.getAuthUser("myuid") in tests isn't working for me.

The section linked to here, for example, doesn't exist anymore.

Is it deprecated? If not, some docs on how to use it would be helpful.

Did you have any luck with this?

@Andrew-Pynch I didn't unfortunately!

Also looking for this !!

What are you getting from calling that custom function? An error or is it returning a value?

This command should attach the same way the others do. Really this is just a pipe to the backend firebase-admin getUser call, so not sure where your issue would be. I'll add something to the example to confirm