Repository navigation
Cheerio-backed checks for expected content in transactional emails #5612
awslew
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I built InlinerAPI, a free public beta that uses Cheerio to check rendered email HTML against explicit content expectations. I'm the maker; this introduction is AI-assisted.
A rule can target a body element such as
#total, compare its text with an independent expected value, and report the selector that failed. Head, script, style and template content is excluded from these body-text checks. The checker inspects HTML source; CSS visibility and inbox rendering remain outside this check.The existing no-signup receipt demo has a synthetic EUR receipt containing €29.00 where the independent expectation is €24.00. Choose Order receipt, load the broken example and preview:
eur-totalfails, 4/5 checks pass. Load the passing example and preview again: that single EUR case passes 5/5. Other variants need their own checks.If you try it, does the failed selector/result make clear what went wrong, and which part is unclear? A report of an unfinished attempt is useful too. Use only the built-in synthetic data; no upload or account is needed.
All reactions