diff --git a/packages/design-system/src/components/OcStatusIndicators/OcStatusIndicators.vue b/packages/design-system/src/components/OcStatusIndicators/OcStatusIndicators.vue index c37221b87a..065b21bab1 100644 --- a/packages/design-system/src/components/OcStatusIndicators/OcStatusIndicators.vue +++ b/packages/design-system/src/components/OcStatusIndicators/OcStatusIndicators.vue @@ -13,6 +13,8 @@ appearance="raw" :data-testid="indicator.id" :data-test-indicator-type="indicator.type" + :data-test-indicator-resource-name="resource.name" + :data-test-indicator-resource-path="resource.path" no-hover @click="(e: MouseEvent) => indicator.handler?.(resource, e)" > @@ -67,7 +69,7 @@ export interface Props { /** * @docs The resource that the indicators are related to. */ - resource: unknown + resource: { id?: string; name?: string; path?: string } /** * @docs The indicators to be displayed. Please refer to the component source code for the `Indicator` type definition. */ diff --git a/packages/web-app-admin-settings/tests/unit/components/Spaces/__snapshots__/SpacesList.spec.ts.snap b/packages/web-app-admin-settings/tests/unit/components/Spaces/__snapshots__/SpacesList.spec.ts.snap index 4a1aab353e..bc5f153a03 100644 --- a/packages/web-app-admin-settings/tests/unit/components/Spaces/__snapshots__/SpacesList.spec.ts.snap +++ b/packages/web-app-admin-settings/tests/unit/components/Spaces/__snapshots__/SpacesList.spec.ts.snap @@ -157,7 +157,7 @@ exports[`SpacesList > should render all spaces in a table 1`] = ` }; return svg; }" aria-hidden="true" focusable="false" class="size-5.5"> -