Skip to content

Commit f9811f2

Browse files
committed
fix: Account.Registration.Logic.After account creation an e-mail with activation link should be send: Length of '[]' should be 1 but is 0
1 parent 6d7bc23 commit f9811f2

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

0 commit comments

Comments
 (0)