From 9b2c2a9c0d2c507433836ed5b5646255aa6feec5 Mon Sep 17 00:00:00 2001 From: Dan Dong Date: Mon, 19 Aug 2024 15:55:32 -0700 Subject: [PATCH] Updated snapshot testing Signed-off-by: Dan Dong --- .../added_integration.test.tsx.snap | 14 +-- .../added_integration_flyout.test.tsx.snap | 65 ++++++++----- .../integration_details.test.tsx.snap | 96 ++++++++++--------- .../integration_header.test.tsx.snap | 19 ++-- .../setup_integration.test.tsx.snap | 16 ++-- .../setup_integration_inputs.test.tsx.snap | 18 ++-- .../__snapshots__/upload_flyout.test.tsx.snap | 8 +- 7 files changed, 139 insertions(+), 97 deletions(-) diff --git a/public/components/integrations/components/__tests__/__snapshots__/added_integration.test.tsx.snap b/public/components/integrations/components/__tests__/__snapshots__/added_integration.test.tsx.snap index 86d99ea84..6b89012fd 100644 --- a/public/components/integrations/components/__tests__/__snapshots__/added_integration.test.tsx.snap +++ b/public/components/integrations/components/__tests__/__snapshots__/added_integration.test.tsx.snap @@ -126,15 +126,17 @@ exports[`Added Integration View Test Renders added integration view using dummy
- -

- + > +

+

+ -

- Add Integration -

+

+ Add Integration +

+
-

- Add Integration -

+

+ Add Integration +

+
-

- Add Integration -

+

+ Add Integration +

+
-

- Add Integration -

+

+ Add Integration +

+
-

- Add Integration -

+

+ Add Integration +

+
- -

- Add Integration -

-
+

+ Add Integration +

+
+ diff --git a/public/components/integrations/components/__tests__/__snapshots__/integration_details.test.tsx.snap b/public/components/integrations/components/__tests__/__snapshots__/integration_details.test.tsx.snap index 819112188..745acbf14 100644 --- a/public/components/integrations/components/__tests__/__snapshots__/integration_details.test.tsx.snap +++ b/public/components/integrations/components/__tests__/__snapshots__/integration_details.test.tsx.snap @@ -147,52 +147,60 @@ exports[`Available Integration Table View Test Renders nginx integration table v - - - John Doe - - - - - - - - - + + + + + + + + + +
@@ -209,10 +217,10 @@ exports[`Available Integration Table View Test Renders nginx integration table v
Apache-2.0
@@ -235,10 +243,10 @@ exports[`Available Integration Table View Test Renders nginx integration table v
Nginx HTTP server collector
diff --git a/public/components/integrations/components/__tests__/__snapshots__/integration_header.test.tsx.snap b/public/components/integrations/components/__tests__/__snapshots__/integration_header.test.tsx.snap index cd01eee6c..d1264395c 100644 --- a/public/components/integrations/components/__tests__/__snapshots__/integration_header.test.tsx.snap +++ b/public/components/integrations/components/__tests__/__snapshots__/integration_header.test.tsx.snap @@ -11,17 +11,19 @@ exports[`Integration Header Test Renders integration header as expected 1`] = `
- -

- Integrations -

-
+

+ Integrations +

+
+
@@ -234,9 +236,10 @@ exports[`Integration Header Test Renders integration header as expected 1`] = `
- -

+
- Set Up Integration -

-
+

+ Set Up Integration +

+
+
- +

Set Up Integration

-
+ @@ -233,11 +235,13 @@ exports[`Integration Setup Inputs Renders the S3 connector form as expected 1`] exports[`Integration Setup Inputs Renders the S3 connector form without workflows 1`] = ` - +

Set Up Integration

-
+
@@ -1746,11 +1750,13 @@ exports[`Integration Setup Inputs Renders the details inputs 1`] = ` exports[`Integration Setup Inputs Renders the index form as expected 1`] = ` - +

Set Up Integration

-
+
diff --git a/public/components/integrations/components/__tests__/__snapshots__/upload_flyout.test.tsx.snap b/public/components/integrations/components/__tests__/__snapshots__/upload_flyout.test.tsx.snap index a784634fa..6d7e7878a 100644 --- a/public/components/integrations/components/__tests__/__snapshots__/upload_flyout.test.tsx.snap +++ b/public/components/integrations/components/__tests__/__snapshots__/upload_flyout.test.tsx.snap @@ -6,7 +6,13 @@ exports[`Integration Upload Flyout Renders integration upload flyout as expected size="s" > - Upload Integrations + +

+ Upload Integrations +

+