diff --git a/.changeset/quick-schools-dress.md b/.changeset/quick-schools-dress.md
new file mode 100644
index 0000000000..511709461e
--- /dev/null
+++ b/.changeset/quick-schools-dress.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-techdocs-addons-test-utils': patch
+---
+
+Fix bug/problem with test helper
diff --git a/plugins/techdocs-addons-test-utils/src/test-utils.tsx b/plugins/techdocs-addons-test-utils/src/test-utils.tsx
index 0d65e7e51e..e60a96402c 100644
--- a/plugins/techdocs-addons-test-utils/src/test-utils.tsx
+++ b/plugins/techdocs-addons-test-utils/src/test-utils.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import React, { ReactElement, Fragment } from 'react';
+import React, { ReactElement } from 'react';
// Shadow DOM support for the simple and complete DOM testing utilities
// https://github.com/testing-library/dom-testing-library/issues/742#issuecomment-674987855
@@ -236,9 +236,9 @@ export class TechDocsAddonTester {
element={}
>
- {this.addons.map((addon, index) => (
- {addon}
- ))}
+ {this.addons.map((addon, index) =>
+ React.cloneElement(addon, { key: index }),
+ )}