https://cypress.io logo
Testing email invitation process
# i-need-help
m
Hello there! I'm new to Cypress, and I was wondering how could I build a e2e test with an invitation process. Put simply, I've got a logged-in user that can invite others by sending an email through the service. This email contains a link with a unique token to register as a new user. For now, I was thinking about making the backend sending the token in response to the invitation (only in non-production environment 😅 ). Is this a good approche ? Do you think there could be any security risks ? Thank you!
g