robotframework-imaplibrary icon indicating copy to clipboard operation
robotframework-imaplibrary copied to clipboard

wait_for_email seems to have issues with long subject searches

Open jhoward321 opened this issue 8 years ago • 0 comments

I've noticed that the wait_for_email test seems to struggle when using multi word subjects. Using two words is signifigantly slower than using a one word subject search, and using 3 or more words fails. Could be a problem with imaplib itself and how it handles strings.

For example I have a test waiting for emails with the subject "Karen Test Documents for eSignature". If I do a search for Karen, Karen Test, or eSignature, the test works. If I try doing a more specific subject search, the test fails. I extended a unit test to make sure the imaplib.search function was getting called correctly, (it was), so that makes me think there's a problem with imaplib itself.

jhoward321 avatar Oct 31 '16 16:10 jhoward321