DPP test articles
Test goal: Schema assignment by category wins over the assignment all articles; battery passport per item.Setup: Category battery passport is assigned to the schema EU battery passport (Annex XIII). Weight 0.45 kg.Expected result: Passport with schema eu-battery-annex-xiii, granularity item, validation incomplete. Prefilled: model identifier, manufacturer, contact URL, battery mass, date. Many battery required values open (category, chemistry, composition ...).How to check: Open the passport, items tab: add serial numbers. Look at the findings in the banner.
Test goal: Battery mass comes from the article weight.Setup: Like B01, weight empty.Expected result: Like B01, plus finding: battery mass missing.How to check: Open the passport, check the battery mass finding.
Test goal: Required field model identifier without a value.Setup: Manufacturer number on the article empty.Expected result: Validation incomplete. Findings: model identifier missing, substances of concern missing. Publishing blocked.How to check: Open the passport: banner with findings in the administration language.
Test goal: Required manufacturer identifier, set neither on the article nor on the manufacturer.Setup: Manufacturer Hersteller ohne Kennung GmbH, custom field DPP: manufacturer identifier empty.Expected result: Validation incomplete. Findings: manufacturer identifier missing, substances of concern missing.How to check: Open the passport, check the findings. Adding the identifier to the manufacturer does not change the existing passport (see S04).
Test goal: URL fields require an absolute http(s) address.Setup: DPP: user manual (URL) = www.bui-hinsche.com/dokumentation/Expected result: Validation invalid. Findings: user manual is not an absolute http(s) URL, substances of concern missing.How to check: Open the passport, read the finding, correct the URL in the passport form.
Test goal: Minimum 0 for the expected lifetime.Setup: DPP: expected lifetime (years) = -3Expected result: Validation invalid. Findings: lifetime below the minimum of 0, substances of concern missing.How to check: Open the passport, check the finding.
Test goal: The lifetime allows one decimal place.Setup: DPP: expected lifetime (years) = 7.25Expected result: Validation invalid. Findings: too many decimal places for the lifetime, substances of concern missing.How to check: Open the passport, check the finding.
Test goal: Required field carbon footprint total without a value.Setup: DPP: carbon footprint total empty.Expected result: Validation incomplete. Findings: carbon footprint missing, substances of concern missing.How to check: Open the passport, check the finding. The compliance overview counts the passport as incomplete.
Test goal: The carbon footprint allows two decimal places.Setup: DPP: carbon footprint total = 12.345Expected result: Validation invalid. Findings: too many decimal places for the carbon footprint, substances of concern missing.How to check: Open the passport, check the finding.
Test goal: The GTIN consists of 8 to 14 digits.Setup: EAN = 4261234-567080Expected result: Validation invalid. Findings: GTIN does not match the pattern, substances of concern missing.How to check: Open the passport, check the finding.
Test goal: The GTIN check digit is verified for the GS1 Digital Link, not in the passport form.Setup: EAN = 4261234567090 (correct check digit would be 7).Expected result: Passport: no GTIN finding, only finding substances of concern missing. Adding a GS1 Digital Link identifier with this GTIN is rejected because of the check digit.How to check: Open the passport, tab identifiers and carriers, add identifier: scheme GS1 Digital Link, value /01/4261234567090.
Test goal: The product name is translatable, the schema default locale is German.Setup: Article maintained in English only, no German translation (no German recycling instructions either).Expected result: Validation invalid. Findings: product name without a value in the default locale de-DE, substances of concern missing. Recycling instructions English only.How to check: Open the passport, switch the language in the passport form, check the finding. The passport page under /de shows the English name as fallback.
Test goal: Required date placed on the market comes from the release date.Setup: Release date on the article empty.Expected result: Validation incomplete. Findings: date placed on the market missing, substances of concern missing.How to check: Open the passport, check the finding.
Test goal: Required take-back field, empty on the article and without default in the plugin configuration.Setup: DPP: take-back and collection points (URL) empty. The configuration field default take-back URL is empty in this shop.Expected result: Validation incomplete. Findings: take-back URL missing, substances of concern missing. With a default set in the configuration a newly created passport would be prefilled.How to check: Open the passport, check the finding.
Test goal: Required treatment and recycling instructions (visible to recyclers only).Setup: DPP: treatment and recycling instructions empty in DE and EN, no default in the configuration.Expected result: Validation incomplete. Findings: recycling instructions missing, substances of concern missing.How to check: Open the passport, check the finding.
Test goal: Maximum length of the model identifier.Setup: Manufacturer number with 134 characters.Expected result: Validation invalid. Findings: model identifier exceeds 128 characters, substances of concern missing.How to check: Open the passport, check the finding. Look at the nameplate preview with the long identifier.
Test goal: Missing and wrong values mixed: invalid wins over incomplete.Setup: Manufacturer number empty, manual ftp://bui-hinsche.com/anleitung.pdf, lifetime -1.Expected result: Validation invalid with four findings: model identifier missing, manual not an http(s) URL, lifetime below 0, substances of concern missing.How to check: Open the passport, check all findings in the banner. Cross-check with a CSV import dry run with corrected values.
Test goal: Required EU declaration of conformity, set neither on the article nor on the manufacturer.Setup: Manufacturer Hersteller ohne Konformitätserklärung GmbH, custom field DPP: EU declaration of conformity (URL) empty.Expected result: Validation incomplete. Findings: declaration of conformity missing, substances of concern missing.How to check: Open the passport, check the finding. Adding the URL to the manufacturer only affects newly created passports (see S04).
Test goal: End to end from article to passport, storefront, order and passport sheet.Setup: Every value the ESPR schema takes from the article is set. Substance of concern added, passport published.Expected result: Passport status published, validation valid. Product passport tab on the product page with QR code, passport page /dpp/ reachable in DE and EN.How to check: Open the product page, product passport tab. Scan the QR code. Order the article: create the passport sheet document (PDF with row and QR code) and check the mail with passport links.
Test goal: The GTIN is optional in the ESPR schema.Setup: Like K02, but the EAN field is empty.Expected result: No finding on the GTIN. Only finding: substances of concern missing. Only the self assigned identifier is available as data carrier, no GS1 Digital Link.How to check: Open the passport, tab identifiers and carriers.
Test goal: A manufacturer identifier on the article wins over the one on the manufacturer.Setup: Manufacturer Prüfwerk Muster GmbH carries DE123456789, the article itself DE987654321.Expected result: The passport shows DE987654321 as manufacturer identifier. Only finding: substances of concern missing.How to check: Open the passport, data tab, field manufacturer identifier.
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.