diff --git a/.changeset/eighty-bees-breathe.md b/.changeset/eighty-bees-breathe.md new file mode 100644 index 00000000000..7b677fca056 --- /dev/null +++ b/.changeset/eighty-bees-breathe.md @@ -0,0 +1,5 @@ +--- +"@wso2is/features": patch +--- + +add componentId for audit logs diff --git a/features/admin-extensions-v1/components/audit-logs/audit-logs.tsx b/features/admin-extensions-v1/components/audit-logs/audit-logs.tsx index 632ee82584d..5e1c4a73a3c 100644 --- a/features/admin-extensions-v1/components/audit-logs/audit-logs.tsx +++ b/features/admin-extensions-v1/components/audit-logs/audit-logs.tsx @@ -21,7 +21,6 @@ import { EmptyPlaceholder, LinkButton, Message, PrimaryButton } from "@wso2is/react-components"; -import { getEmptyPlaceholderIllustrations } from "../../../admin-core-v1"; import React, { MutableRefObject, ReactElement, @@ -32,6 +31,7 @@ import React, { } from "react"; import { useTranslation } from "react-i18next"; import { Icon, Label } from "semantic-ui-react"; +import { getEmptyPlaceholderIllustrations } from "../../../admin-core-v1"; import InfiniteScrollContainer from "../logs/components/infinite-scroll-container"; import TimeRangeSelector from "../logs/components/time-range-selector"; import { LogsConstants } from "../logs/constants"; @@ -548,3 +548,13 @@ export const AuditLogsPage = (props: AuditPagePropsInterface) : ReactElement => ); }; + + +/** + * Default props for the component. + */ +AuditLogsPage.defaultProps = { + "data-componentid": "audit-logs" +}; + +export default AuditLogsPage; diff --git a/features/admin-extensions-v1/components/logs/components/infinite-scroll-container.tsx b/features/admin-extensions-v1/components/logs/components/infinite-scroll-container.tsx index 4078a4c5a73..de97ae5ca65 100644 --- a/features/admin-extensions-v1/components/logs/components/infinite-scroll-container.tsx +++ b/features/admin-extensions-v1/components/logs/components/infinite-scroll-container.tsx @@ -251,6 +251,7 @@ const InfiniteScrollContainer = (props: InfiniteScrollContainerPropsInterface):