Special cases
Test goal: Variants inherit name, manufacturer and custom fields from the main article.Setup: Main article with two variants (colour black, white) without own texts.Expected result: One passport per variant. Product name in the variant passport in German and English as on the main article, not the English name under German.How to check: Filter product passports for DPP-S01, open a variant passport, switch the language in the passport form.
Test goal: HTML and scripts from article data must not run in storefront, passport page or administration.Setup: Name with , &, quotes, Expected result: No alert window anywhere. Characters appear as text, umlauts and € correct. Recycling instructions without script.How to check: Product page and product passport tab, passport page /dpp/ (after publishing), passport in the administration, nameplate preview. Recycling instructions are visible only with an access grant at level recycler.
Test goal: A deleted article withdraws its passport, the passport stays as evidence.Setup: Regular article, meant to be deleted.Expected result: After deleting: passport not deleted, status withdrawn, passport page reports the withdrawn passport.How to check: First publish the passport (add a substance), then delete the article in the administration, then check product passports and the passport page.
Test goal: The passport is prefilled from the article only on creation; later changes go through a new passport version.Setup: Lifetime 8 years.Expected result: After changing the lifetime on the article to 12 the passport keeps 8. Only a change in the passport form creates version 2.How to check: Set custom field DPP: expected lifetime on the article to 12, save, open the passport after 5 minutes (versions tab).