ATF "Validate Outbound Email Generated by Notification" step failing randomlyDescriptionATF "Validate Outbound Email Generated by Notification" step fails if the email is in "sent" state and passes when the email is in "send-ready" state.Steps to Reproduce 1. Enable "Email sending enabled" properties on an instance.2. Create a new ATF test.3. Add a "Open a New Form" step to open the incident form.4. Add a "Set Field Values" step to set values for short description, caller fields and any other mandatory fields on the form.5. Add a "Submit a Form" step to submit the incident form.6. Add a "Validate Outbound Email Generated by Notification" step to validate that an email was generated by notification 'Incident opened for me'.7. Add a "Run Server Side Script" step to put the test on sleep for 10-20secs. (gs.sleep('20000');)8. Add another "Validate Outbound Email Generated by Notification" step to validate that an email was generated by notification 'Incident opened for me'.Expected: Both "Validate Outbound Email Generated by Notification" steps in the ATF pass.Result: The first "Validate Outbound Email Generated by Notification" step passes but the 2nd one fails.WorkaroundUse ATF "Validate Outbound Email" step to validate the email. Or, ATF "Record Query" step can be used to query the sys_email table to validate the email.Related Problem: PRB1444541