From bbd3b0feb85b6d2b138ca0109c9cfd242b025f10 Mon Sep 17 00:00:00 2001 From: mariana-furyk Date: Tue, 29 Oct 2024 20:45:21 +0200 Subject: [PATCH] fixed testing bugs --- src/components/ActionBar/ActionBar.js | 1 + src/components/Jobs/Jobs.js | 18 ++- .../Jobs/MonitorJobs/JobsFilters.js | 7 +- .../Jobs/MonitorJobs/MonitorJobs.js | 1 + .../Jobs/MonitorWorkflows/MonitorWorkflows.js | 1 + .../Jobs/MonitorWorkflows/WorkflowsFilters.js | 7 +- .../MonitorWorkflows/monitorWorkflows.util.js | 12 +- .../Jobs/ScheduledJobs/ScheduledJobs.js | 3 +- .../ScheduledJobs/ScheduledJobsFilters.js | 7 +- src/components/Jobs/jobs.util.js | 2 +- .../JobsMonitoring/JobsMonitoringFilters.js | 7 +- .../ScheduledMonitoring.js | 2 +- .../ScheduledMonitoringFilters.js | 7 +- .../WorkflowsMonitoringFilters.js | 7 +- src/elements/JobsTable/JobsTable.js | 9 +- .../ScheduledJobsTable/ScheduledJobsTable.js | 6 +- src/elements/WorkflowsTable/WorkflowsTable.js | 146 ++++++++++-------- src/hooks/useJobsPageData.js | 2 +- src/utils/getNoDataMessage.js | 21 ++- src/utils/getState.js | 13 +- tests/mockServer/mock.js | 99 +++++++----- 21 files changed, 245 insertions(+), 133 deletions(-) diff --git a/src/components/ActionBar/ActionBar.js b/src/components/ActionBar/ActionBar.js index 7bae4e631..207072ab9 100644 --- a/src/components/ActionBar/ActionBar.js +++ b/src/components/ActionBar/ActionBar.js @@ -332,6 +332,7 @@ const ActionBar = ({ !actionButton.hidden && (actionButton.template || (