Web Components · Global
<mmm-testing>
Developer sandbox component. Renders a fixed black-on-white box with the text "Testing Component" — used internally to verify the SDK loader, registration pipeline, and shadow-DOM mounting are working end-to-end.
Overview
Not for production use. Drop it on a blank page and confirm it renders to verify that:
CommmerceSDKLoaderfinished loading.- The custom-elements registry accepted
mmm-testing. - Shadow-DOM rendering is working.
Has zero inline attributes and emits no events. Hard-coded styles: black background, white text. Safe to remove entirely once you have a working storefront.
When to use
- As the first component on a brand-new theme to verify the SDK pipeline.
- To smoke-test a fresh deployment of the web-component bundle.
Quick start
<script src="https://v2-api-production.commmerce.com/api/v1/web-component/commmerce-sdk.js?store=sample-store"></script>
<mmm-testing></mmm-testing>Attributes
None. Standard HTML attributes (id, class, hidden) only.
Live preview
If you see the black box with "Testing Component" — the SDK is loading correctly.
Examples
1. Verify the SDK pipeline
<mmm-testing></mmm-testing>