How can you test an email link with Protractor?

I am writing tests using Protractor and I want to know how I can validate a link via email. I mean, it's easy to check a regular link because you only need to check the new url. But when you click on the email link, you can go to an external email provider, so is there any solution? Thanks to

+3


source to share


1 answer


You don't have to test this functionality - it goes far beyond the functionality of your application. What happens after clicking on this link will be different from the system, browser and browser, and this is not something under protractor

or selenium

.



The only thing you have to check is what the href

links are mailto:

.

+4


source







All Articles