captbaritone / captbaritone/codeception-mailcatcher-module

Feature request: Add methods to check for sender and recipient(s)

Open
#98 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
110
Forks
39
PR merge metrics
No merged PRs in 30d

Description

For the upcoming feature to look for the nth message, I propose a new
feature request (will provide a PR):
- add method `seeSenderInLastEmail`/`seeSenderInNthEmail` to check for the correct sender
- add method `seeRecipientInLastEmail`/`seeRecipientInNthEmail` to check for certain recipient(s)

The data is there and could easily be integrated in the `\Codeception\Util\Email` entity and `\Codeception\Module\MailCatcher` module.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Codeception\Util\Email entity and Codeception\Module\MailCatcher module named in the issue, then trace how the existing last- and nth-email lookup works. Done means sender and recipient checks are available for both the last email and a selected nth email, including recipient(s) as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.