From 74460fa2d7b79d041dd70686cfc63c23e10a0567 Mon Sep 17 00:00:00 2001 From: mabashian Date: Thu, 18 Mar 2021 14:08:55 -0400 Subject: [PATCH] Adds ouiaId's to output page buttons --- .../components/LaunchButton/ReLaunchDropDown.jsx | 3 ++- .../screens/Job/JobOutput/shared/OutputToolbar.jsx | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx b/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx index 709d31e06c..6d0539c705 100644 --- a/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx +++ b/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx @@ -11,7 +11,7 @@ import { } from '@patternfly/react-core'; import { RocketIcon } from '@patternfly/react-icons'; -function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) { +function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n, ouiaId }) { const [isOpen, setIsOPen] = useState(false); const onToggle = () => { @@ -75,6 +75,7 @@ function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) { return ( {({ handleRelaunch }) => ( - + )} ) : ( {({ handleRelaunch }) => ( @@ -177,6 +185,7 @@ const OutputToolbar = ({ ['pending', 'waiting', 'running'].includes(jobStatus) && (