Skip to content

Commit

Permalink
Added hint that "I.seeEmailAttachment" treats parameter as regular ex…
Browse files Browse the repository at this point in the history
…pression (#4629)
  • Loading branch information
ngraf authored Dec 10, 2024
1 parent 6e259e9 commit 3e888a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ I.seeEmailIsFrom('@mysite.com');
I.seeInEmailSubject('Awesome Proposal!');
I.seeInEmailBody('To unsubscribe click here');
I.seeNumberOfEmailAttachments(2);
I.seeEmailAttachment('Attachment_1.pdf')
I.seeEmailAttachment('Attachment_2.pdf')
I.seeEmailAttachment('Attachment_1.pdf'); // Regular expression. Escape special characters like '(' or ')' in filename.
I.seeEmailAttachment('Attachment_2.pdf');
```

> More methods are listed in [helper's API reference](https://github.com/codeceptjs/mailslurp-helper/blob/master/README.md#api)
Expand Down

0 comments on commit 3e888a7

Please sign in to comment.