diff --git a/awx/ui_next/src/components/PaginatedDataList/__snapshots__/ToolbarDeleteButton.test.jsx.snap b/awx/ui_next/src/components/PaginatedDataList/__snapshots__/ToolbarDeleteButton.test.jsx.snap index e837c39658..1b146c628b 100644 --- a/awx/ui_next/src/components/PaginatedDataList/__snapshots__/ToolbarDeleteButton.test.jsx.snap +++ b/awx/ui_next/src/components/PaginatedDataList/__snapshots__/ToolbarDeleteButton.test.jsx.snap @@ -8,62 +8,13 @@ exports[` should render button 1`] = ` pluralizedItemName="Items" > - - - Select a row to delete - - - } - delay={ - Array [ - 500, - 500, - ] - } distance={15} - flip={true} + enableFlip={true} flipBehavior={ Array [ "top", @@ -76,83 +27,90 @@ exports[` should render button 1`] = ` ] } isVisible={false} - lazy={true} - maxWidth="18.75rem" - onCreate={[Function]} + onBlur={[Function]} + onDocumentClick={false} + onDocumentKeyDown={[Function]} + onFocus={[Function]} + onMouseEnter={[Function]} + onMouseLeave={[Function]} + onTriggerEnter={[Function]} placement="top" - popperOptions={ - Object { - "modifiers": Object { - "hide": Object { - "enabled": true, - }, - "preventOverflow": Object { - "enabled": true, - }, - }, - } - } - theme="pf-tooltip" - trigger="mouseenter focus" - zIndex={9999} - > - - - - Delete - - - - - - - Select a row to delete - - - - } - > + popper={ + - - Select a row to delete - + Select a row to delete - - + } + popperMatchesTriggerWidth={false} + positionModifiers={ + Object { + "bottom": "pf-m-bottom", + "left": "pf-m-left", + "right": "pf-m-right", + "top": "pf-m-top", + } + } + trigger={ + + + Delete + + + } + zIndex={9999} + > + + + + + Delete + + + + + `; diff --git a/awx/ui_next/src/components/ResourceAccessList/__snapshots__/DeleteRoleConfirmationModal.test.jsx.snap b/awx/ui_next/src/components/ResourceAccessList/__snapshots__/DeleteRoleConfirmationModal.test.jsx.snap index 130f418117..d010f43f4c 100644 --- a/awx/ui_next/src/components/ResourceAccessList/__snapshots__/DeleteRoleConfirmationModal.test.jsx.snap +++ b/awx/ui_next/src/components/ResourceAccessList/__snapshots__/DeleteRoleConfirmationModal.test.jsx.snap @@ -103,12 +103,17 @@ exports[` should render initially 1`] = ` aria-labelledby="pf-modal-part-0 alert-modal-header-label pf-modal-part-1" aria-modal="true" class="pf-c-modal-box pf-m-sm" + data-ouia-component-id="0" + data-ouia-component-type="PF4/ModalContent" + data-ouia-safe="true" id="pf-modal-part-0" role="dialog" > should render initially 1`] = ` class="pf-c-modal-box__footer" > should render initially 1`] = ` Delete should render initially 1`] = ` } isOpen={true} onClose={[Function]} + ouiaSafe={true} showClose={true} title="Remove Team Access" variant="small" @@ -233,12 +243,17 @@ exports[` should render initially 1`] = ` aria-labelledby="pf-modal-part-0 alert-modal-header-label pf-modal-part-1" aria-modal="true" class="pf-c-modal-box pf-m-sm" + data-ouia-component-id="0" + data-ouia-component-type="PF4/ModalContent" + data-ouia-safe="true" id="pf-modal-part-0" role="dialog" > should render initially 1`] = ` class="pf-c-modal-box__footer" > should render initially 1`] = ` Delete should render initially 1`] = ` isOpen={true} labelId="pf-modal-part-1" onClose={[Function]} + ouiaSafe={true} showClose={true} title="Remove Team Access" variant="small" @@ -391,6 +411,9 @@ exports[` should render initially 1`] = ` aria-label="Alert modal" aria-labelledby="pf-modal-part-0 alert-modal-header-label pf-modal-part-1" className="" + data-ouia-component-id={0} + data-ouia-component-type="PF4/ModalContent" + data-ouia-safe={true} id="pf-modal-part-0" style={Object {}} variant="small" @@ -401,6 +424,9 @@ exports[` should render initially 1`] = ` aria-labelledby="pf-modal-part-0 alert-modal-header-label pf-modal-part-1" aria-modal="true" className="pf-c-modal-box pf-m-sm" + data-ouia-component-id={0} + data-ouia-component-type="PF4/ModalContent" + data-ouia-safe={true} id="pf-modal-part-0" role="dialog" style={Object {}} @@ -415,15 +441,14 @@ exports[` should render initially 1`] = ` variant="plain" > should render initially 1`] = ` variant="danger" > Delete @@ -606,15 +630,14 @@ exports[` should render initially 1`] = ` variant="secondary" > Cancel diff --git a/awx/ui_next/src/components/ResourceAccessList/__snapshots__/ResourceAccessListItem.test.jsx.snap b/awx/ui_next/src/components/ResourceAccessList/__snapshots__/ResourceAccessListItem.test.jsx.snap index f26a2377cb..7c8126fb4d 100644 --- a/awx/ui_next/src/components/ResourceAccessList/__snapshots__/ResourceAccessListItem.test.jsx.snap +++ b/awx/ui_next/src/components/ResourceAccessList/__snapshots__/ResourceAccessListItem.test.jsx.snap @@ -862,7 +862,7 @@ exports[` initially renders succesfully 1`] = ` > @@ -880,17 +880,16 @@ exports[` initially renders succesfully 1`] = ` variant="plain" > ', () => { test('empty host counts should display tooltip and one bar segment', () => { wrapper = mountWithContexts(); expect(wrapper.find('BarSegment').length).toBe(1); - expect(wrapper.find('TooltipContent').text()).toEqual( + expect(wrapper.find('Tooltip').prop('content')).toEqual( 'Host status information for this job is unavailable.' ); });