captbaritone / captbaritone/codeception-mailcatcher-module

Get URL for link labelled X

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
PHP
Stars
110
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Feature request

Add a new method that allows the user to specify a link label, of which the method returns the URL that the label is linked to.

e.g. if I have an email with 2 links:

1. `First link`
2. `Second link`

It would be great if we could do something like: `$I->getUrlForLink('Second link')` to get the URL from the second link.

Feel free to make the method name anything you like that makes sense.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test entry point is named in the issue. Start by locating the module's existing email and link-handling APIs, then determine where a label-to-URL lookup belongs. Done means the specified link label returns its linked URL, including the illustrated second-link case, with coverage for the behavior.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.