Refactor email test in ui to avoid hard coded URL
This merge request improves the checks of generated URLs in emails by removing the hard code part.
Part of #558 (closed)
This merge request improves the checks of generated URLs in emails by removing the hard code part.
Part of #558 (closed)