FlowFuse / FlowFuse/flowfuse

Upgrade cypress-mailpit 0.0.4 → 2.0.0

Open
#7,978 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 20h
Merged PRs (30d)
149

Description

# Upgrade cypress-mailpit 0.0.4 → 2.0.0 (major)

Dependabot PR #7499. Dev dependency (`^0.0.4`, resolved 0.0.4) — Cypress email-testing plugin, imported in `test/e2e/frontend/cypress/support/commands.js`. Pulled out of the weekly Dependabot slot per the major-version process — needs an owner and verification, not a batch merge.

## Compatibility pre-check

- ✅ Peer `cypress >=15.10.0`; installed is 15.18.1.
- ✅ No `engines` constraint published for 2.0.0.
- ✅ No direct `cy.mailpit*` / `getMailpit` command usage found in specs; only the plugin import in `commands.js`. Mailpit itself is run via Docker in `test/e2e/frontend/environments/smtp.js`.
- ✅ No `MAILPIT_URL` configured in the repo (plugin default), so the config-key migration below has nothing to port.

## Breaking changes to review

- 0.x → 2.0 crosses to a stable major; treat all API as potentially changed.
- Mailpit URL config moved from `Cypress.env()` to `Cypress.expose()` (`MAILPIT_URL`) — README.
- Minimum Cypress bumped to `>=15.10.0` — README.
- Full renamed/removed command list not enumerated in release notes: to confirm from changelog.

## To do before merge

- [ ] Run the e2e specs that use mailpit; reconcile any renamed commands.
- [ ] Read the 2.x changelog / README.

## Refs

- Branch: `dependabot/npm_and_yarn/cypress-mailpit-2.0.0`
- PR: #7499
- Upstream: https://github.com/pushpak1300/cypress-mailpit

Contributor guide

Open the contributing guide

Research direction

Start by reading the cypress-mailpit 2.x changelog and README, then inspect its import in test/e2e/frontend/cypress/support/commands.js and the Mailpit environment in test/e2e/frontend/environments/smtp.js. Run the e2e specs that use Mailpit and verify that the plugin import, any commands, and configuration remain compatible with Cypress 15.18.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, docker, javascript
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.