Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

A Run Receipt for Disposable Email Tests

Описание и применение

Запись выполнения тестов с временными почтовыми ящиками ускоряет отладку, предоставляя компактный JSON‑файл с ключевыми событиями и без хранения секретов.

Задача

Email tests often fail with ambiguous diagnostics, making debugging slow and error‑prone.

Результат

The run receipt reduces debugging time by providing a concise, non‑sensitive record of email test execution, linking mailbox, logs, and CI run via run_id.

Рабочий процесс

  • Create a disposable email address and record mailbox in receipt
  • Submit signup or password‑reset form
  • Poll for email, updating receipt with attempts and final status
  • If email arrives, record message ID and link state; if not, record timeout/not‑found/provider‑error
  • Upload receipt as CI artifact on failure (and optionally on success)
  • Clean up mailbox after test
  • Use run_id to correlate receipt with logs and traces

Доказательства

Email tests often fail in the least helpful way: the browser says that verification never arrived, while the CI log only says that an assertion timed out.

Источник

The receipt should be uploaded as a CI artifact on failure and, optionally, on success for a short retention period.

Источник

The run_id is the important field. It connects the mailbox, application logs, browser trace, and CI job.

Источник

  • Дата записи: 2026-10-05T09:56:02.905Z