Skip to content

Commit 1b2eb80

Browse files
committed
test: fix flaked "After account creation an e-mail with activation link should be send" test
Fix #1131
1 parent fc4d07f commit 1b2eb80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/test/robotframework/account/registration

src/test/robotframework/account/registration/logic.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ After account creation an e-mail with activation link should be send
1414
Submit Form id:register-account-form
1515
Element Text Should Be id:msg-success Instructions to finish registration have been sent to your e-mail
1616
# check that e-mail has been sent by querying Wiremock
17-
${capturedRequests}= Search For Request { "method": "POST", "url": "/mailgun/send-message" }
17+
${capturedRequests}= Wait Until Keyword Succeeds 3x 1s Search For Request { "method": "POST", "url": "/mailgun/send-message" }
1818
${body}= Set Variable ${capturedRequests[0]['body']}
1919
Should Contain ${body} coder@rock.home
2020
Should Contain ${body} My Stamps <dont-reply@my-stamps.ru>

0 commit comments

Comments
 (0)