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

Email client: usage in e2e tests #25776

Open
tobiasdiez opened this issue May 6, 2023 · 0 comments
Open

Email client: usage in e2e tests #25776

tobiasdiez opened this issue May 6, 2023 · 0 comments
Assignees
Labels
Communication - Email customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service This issue points to a problem in the service.

Comments

@tobiasdiez
Copy link

Is your feature request related to a problem? Please describe.
When using the EmailClient to send emails, it's hard to make sure that it works as intended using e2e. A proper e2e test would actually send out an email and check that it is received at a test email. But it may take quite some time until the test email is really delivered, leading to long test times.

Describe the solution you'd like
Provide a way to simulate sending an email, but instead of really sending it return the "would-be-received-email". Alternatively, provide an test email address where one could send emails to, which are delivered immediately and which can be checked easily with an api or similar.

Describe alternatives you've considered
Only manually testing the setup with real email addresses from time to time.

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels May 6, 2023
@xirzec xirzec added Service This issue points to a problem in the service. feature-request This issue requires a new behavior in the product in order be resolved. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels May 8, 2023
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label May 8, 2023
@akania akania assigned kagbakpem and unassigned akania May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Communication - Email customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service This issue points to a problem in the service.
Projects
None yet
Development

No branches or pull requests

4 participants