webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js in katello-4.4.2.2 vs webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js in katello-4.5.0.rc1

- old
+ new

@@ -1,9 +1,10 @@ /* eslint-disable react/no-array-index-key */ import React, { useState } from 'react'; import { translate as __ } from 'foremanReact/common/I18n'; import PropTypes from 'prop-types'; +import { kebabCase } from 'lodash'; import { shallowEqual, useSelector, } from 'react-redux'; import { @@ -32,10 +33,11 @@ statusSelector, autocompleteEndpoint, fetchItems, columnHeaders, disableSearch, + route, }, repositories, }) => { const ALL_REPOSITORIES = __('All Repositories'); const [searchQuery, updateSearchQuery] = useState(''); const [open, setOpen] = useState(false); @@ -75,9 +77,10 @@ updateSearchQuery, status, autocompleteEndpoint, disableSearch, }} + ouiaId={`content-view-version-details-${kebabCase(route)}-table`} additionalListeners={[selected]} fetchItems={fetchItemsWithRepositoryId} emptySearchTitle={__('Your search returned no matching ') + name} emptySearchBody={__('Try changing your search criteria.')} emptyContentTitle={__('No matching ') + name + __(' found.')}