From 07f80299c8ccdd63c6f76a05ee273ab583587a36 Mon Sep 17 00:00:00 2001 From: Ashan Thamara Palihakkara <75057725+ashanthamara@users.noreply.github.com> Date: Sun, 25 Aug 2024 20:21:51 +0530 Subject: [PATCH 1/2] Fix data-componentids in actions component --- .../admin.actions.v1/components/action-config-form.tsx | 6 ++++-- .../pages/action-configuration-page.tsx | 2 +- features/admin.actions.v1/pages/actions.tsx | 10 ++++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/features/admin.actions.v1/components/action-config-form.tsx b/features/admin.actions.v1/components/action-config-form.tsx index 65a7091e3cd..cba4742caac 100644 --- a/features/admin.actions.v1/components/action-config-form.tsx +++ b/features/admin.actions.v1/components/action-config-form.tsx @@ -368,7 +368,9 @@ const ActionConfigForm: FunctionComponent = ({ return ( + className="alert-title" + data-componentid={ `${ _componentId }-authentication-info-box-title` } + > = ({ } } ariaLabel="endpointUri" required={ true } - data-componentid={ `${ _componentId }-action-name` } + data-componentid={ `${ _componentId }-action-endpointUri` } name="endpointUri" type="text" label={ t("actions:fields.endpoint.label") } diff --git a/features/admin.actions.v1/pages/action-configuration-page.tsx b/features/admin.actions.v1/pages/action-configuration-page.tsx index 2b3065e572f..e50798c4ee3 100644 --- a/features/admin.actions.v1/pages/action-configuration-page.tsx +++ b/features/admin.actions.v1/pages/action-configuration-page.tsx @@ -365,7 +365,7 @@ const ActionConfigurationPage: FunctionComponent 0) { return ( -
+
{ t("actions:status.configured") } @@ -218,7 +221,10 @@ export const ActionTypesListingPage: FunctionComponent +
{ t("actions:status.notConfigured") } From fa4abc1547b12fa195310a289365bee4ae8e3ff2 Mon Sep 17 00:00:00 2001 From: Ashan Thamara Palihakkara <75057725+ashanthamara@users.noreply.github.com> Date: Sun, 25 Aug 2024 20:22:50 +0530 Subject: [PATCH 2/2] Added changeset --- .changeset/rotten-deers-cough.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rotten-deers-cough.md diff --git a/.changeset/rotten-deers-cough.md b/.changeset/rotten-deers-cough.md new file mode 100644 index 00000000000..3b60937f23b --- /dev/null +++ b/.changeset/rotten-deers-cough.md @@ -0,0 +1,5 @@ +--- +"@wso2is/admin.actions.v1": patch +--- + +Fix data-componentids in actions component