Skip to content

Commit fff483b

Browse files
committed
chore: improve the test for senging e-mail by checking to, from and subject
1 parent c49ec16 commit fff483b

File tree

1 file changed

+3
-0
lines changed
  • src/test/robotframework/account/registration

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ After account creation an e-mail with activation link should be send
2020
Log ${response.json}
2121
Length Should Be ${response.json['requests']} 1
2222
${body}= Set Variable ${response.json['requests'][0]['body']}
23+
Should Contain ${body} [email protected]
24+
Should Contain ${body} My Stamps <[email protected]>
25+
Should Contain ${body} [my-stamps.ru] Account activation
2326
${linkRegexp}= Set Variable ${SITE_URL}/account/activate\\?key=[0-9a-z]{10}
2427
${links}= Get Regexp Matches ${body} ${linkRegexp}
2528
Length Should Be ${links} 1

0 commit comments

Comments
 (0)