wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 728 forks source link

Add mock email server for integration tests #21187

Closed madurangasiriwardena closed 1 month ago

madurangasiriwardena commented 1 month ago

Is your suggestion related to an experience ? Please describe. Currently, there is no way to test the email sending flows with the integration test suit. This is a blocker to improve the automation test coverage.

Describe the improvement Add a mock email server to the integration test suite. This allows us to configure a email server in the integration tests and test the email sending flows.

Additional context

madurangasiriwardena commented 1 month ago

Fixed by

madurangasiriwardena commented 1 month ago

To use the mock email server,

More details can be extracted from https://github.com/wso2/product-is/pull/21167