Verify fictional email values survive translation in AI tests
Preserve the same synthetic address or placeholder across languages when the expected match depends on it. Translate nearby prose while treating test identifiers as data.
Example
A fixture expects maya.reed@example.com to become [EMAIL_1]. A translation that changes the case or spelling of either breaks a strict comparison.
What to do
- Mark input literals and expected replacements before translation.
- Confirm preserved values in both the localized fixture and its matching assertion.
- Run the same masking rule for the original and localized tests and compare their results.
How to verify
Both languages remove the same fictional address and produce the same expected placeholder where exact matching is required.
Limits
Use separate examples for locale-specific formats that intentionally have different values.