From 2b71b669ada7ddd766b4834db4a60d0a3a682829 Mon Sep 17 00:00:00 2001
From: padamsen_fisker
Date: Wed, 21 Feb 2024 18:32:56 -0500
Subject: [PATCH] CEC-4072 - IDPS Enabled
---
.../App/__snapshots__/App.test.js.snap | 53 +++++++++++++++++++
.../actions/UpdateFleetVehicles.jsx | 22 ++++++--
.../Add/__snapshots__/index.test.jsx.snap | 38 +++++++++++++
src/components/Cars/Add/index.jsx | 14 ++++-
.../Details/__snapshots__/index.test.jsx.snap | 15 ++++++
src/components/Cars/Status/Details/index.jsx | 15 ++++++
.../__snapshots__/DetailsTab.test.jsx.snap | 15 ++++++
.../Status/__snapshots__/index.test.jsx.snap | 15 ++++++
.../Update/__snapshots__/index.test.jsx.snap | 38 +++++++++++++
src/components/Cars/Update/index.jsx | 16 +++++-
src/components/Contexts/FleetContext.test.jsx | 6 +++
.../Contexts/VehicleContext.test.jsx | 3 ++
.../Contexts/__mocks__/FleetContext.jsx | 4 ++
.../Contexts/__mocks__/VehicleContext.jsx | 1 +
.../Controls/FleetSelectionTable/index.jsx | 7 ++-
.../Add/__snapshots__/index.test.jsx.snap | 38 +++++++++++++
src/components/Fleets/Add/index.jsx | 14 ++++-
.../Details/__snapshots__/index.test.jsx.snap | 11 ++++
.../Fleets/Status/Details/index.jsx | 5 ++
.../Add/__snapshots__/index.test.jsx.snap | 38 +++++++++++++
.../Fleets/Status/Vehicles/Add/index.jsx | 14 ++++-
.../__snapshots__/DetailsTab.test.jsx.snap | 11 ++++
.../Status/__snapshots__/index.test.jsx.snap | 11 ++++
.../Table/__snapshots__/index.test.jsx.snap | 40 +++++++++++++-
.../Update/__snapshots__/index.test.jsx.snap | 38 +++++++++++++
src/components/Fleets/Update/index.jsx | 16 +++++-
src/services/__mocks__/fleetsAPI.js | 3 ++
src/services/__mocks__/vehiclesAPI.js | 1 +
28 files changed, 492 insertions(+), 10 deletions(-)
diff --git a/src/components/App/__snapshots__/App.test.js.snap b/src/components/App/__snapshots__/App.test.js.snap
index d0216d3..d55323c 100644
--- a/src/components/App/__snapshots__/App.test.js.snap
+++ b/src/components/App/__snapshots__/App.test.js.snap
@@ -11343,6 +11343,44 @@ exports[`App Route /vehicle-add authenticated 1`] = `
+
+
+
+
+ IDPS Enabled
+
+ :
+ true
+
+
diff --git a/src/components/Fleets/Status/__snapshots__/index.test.jsx.snap b/src/components/Fleets/Status/__snapshots__/index.test.jsx.snap
index e0220e4..1253e9b 100644
--- a/src/components/Fleets/Status/__snapshots__/index.test.jsx.snap
+++ b/src/components/Fleets/Status/__snapshots__/index.test.jsx.snap
@@ -191,6 +191,17 @@ exports[`FleetStatus Render 1`] = `
false
+
+
+
+ IDPS Enabled
+
+ :
+ true
+
+
diff --git a/src/components/Fleets/Table/__snapshots__/index.test.jsx.snap b/src/components/Fleets/Table/__snapshots__/index.test.jsx.snap
index 4e26d98..36cb6f4 100644
--- a/src/components/Fleets/Table/__snapshots__/index.test.jsx.snap
+++ b/src/components/Fleets/Table/__snapshots__/index.test.jsx.snap
@@ -200,6 +200,29 @@ exports[`FleetTable Render 1`] = `
+
+
+ IDPS Enabled
+
+
+ |
true
+ |
+ true
+ |
@@ -316,6 +344,11 @@ exports[`FleetTable Render 1`] = `
>
false
|
+
+ true
+ |
@@ -354,6 +387,11 @@ exports[`FleetTable Render 1`] = `
>
false
|
+
+ true
+ |
@@ -374,7 +412,7 @@ exports[`FleetTable Render 1`] = `
>
|