Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress e2e tests #148

Closed
ahelord opened this issue Sep 25, 2022 · 3 comments
Closed

Cypress e2e tests #148

ahelord opened this issue Sep 25, 2022 · 3 comments
Labels
feature request A feature has been asked for or suggested by the community

Comments

@ahelord
Copy link

ahelord commented Sep 25, 2022

Hello dear developers, I would like to know how I can do e2e tests with this package, that is, do a programmatic login and then read the token in Vue 3 and with this library login without doing a redirect.

@ahelord ahelord added the feature request A feature has been asked for or suggested by the community label Sep 25, 2022
@frederikprijck
Copy link
Member

frederikprijck commented Sep 27, 2022

It's recommended to do a redirect. I know Cypress has mentioned you should avoid that in the past. However, at Auth0 we have a close connection with the Cypress team and they have reconsidered their recommendation for platforms like Auth0 and the like.

More info on this:

You can find our example tests here: https://github.com/auth0/auth0-vue/tree/main/cypress

@ahelord
Copy link
Author

ahelord commented Sep 27, 2022

@frederikprijck hi, the video is not available

@frederikprijck
Copy link
Member

Sorry about that, here is the correct link: https://www.youtube.com/watch?v=Fohrq5GZSD8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

2 participants