You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is something in the mailbox, calling Delete All Emails soon after Open Mailbox keyword does not seem to do anything (calling Wait For Email after returns me emails straight away). It works though if I Delete All Emails and Close mailbox in the test teardown. I was trying to solve this issue with:
Open Mailbox
Delete All Emails
Close mailbox
Open Mailbox
but it looks the emails are still there :( Is there any lag/cached test data that may cause invalid state?
The text was updated successfully, but these errors were encountered:
@rickypc Interested to know when the fix for this issue (and others) available upstream. The last pypi version is 0.3.0 which is released on 10 Nov, 2016. Also I am facing similar issue where deleting email at specific index doesn't work and stays in the inbox (tried with gmail). Using this keyword for deleting specific email. Snapshot below if I am missing something:
Get Payload From Multipart Email
[Arguments] ${subject} ${timeout}
${LATEST} = Wait For Email timeout=${timeout}
... subject=${subject} status=UNSEEN
${parts} = Walk Multipart Email ${LATEST}
:FOR ${i} IN RANGE ${parts}
\ Walk Multipart Email ${LATEST}
\ ${ctype} = Get Multipart Content Type
\ Continue For Loop If '${ctype}' != 'text/html'
\ ${payload} = Get Multipart Payload decode=True
\ Exit For Loop
Delete Email ${LATEST}
[Return] ${payload}
If there is something in the mailbox, calling
Delete All Emails
soon afterOpen Mailbox
keyword does not seem to do anything (callingWait For Email
after returns me emails straight away). It works though if IDelete All Emails
andClose mailbox
in the test teardown. I was trying to solve this issue with:but it looks the emails are still there :( Is there any lag/cached test data that may cause invalid state?
The text was updated successfully, but these errors were encountered: