From 3c32df88b3d2f95e9e2dc4954d0ed6edecc8ba94 Mon Sep 17 00:00:00 2001 From: Cameron Koegel Date: Thu, 5 Jan 2023 14:41:33 -0500 Subject: [PATCH 1/2] update snapshot --- .../DiscriminatorDropdown.test.tsx.snap | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap index 5f865af5..b2c02db4 100644 --- a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap @@ -102,7 +102,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -222,7 +222,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -373,7 +373,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -493,7 +493,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -631,7 +631,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -751,7 +751,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -951,7 +951,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1071,7 +1071,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -1234,7 +1234,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1354,7 +1354,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -1488,7 +1488,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1608,7 +1608,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -1767,7 +1767,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -1887,7 +1887,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -2076,7 +2076,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -2196,7 +2196,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -2347,7 +2347,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -2467,7 +2467,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", @@ -2605,7 +2605,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "pathInMiddlePanel": false, "payloadSampleIdx": 0, "requiredPropsFirst": false, - "schemaExpansionLevel": 0, + "schemaExpansionLevel": 1, "scrollYOffset": [Function], "showExtensions": false, "showObjectSchemaExamples": false, @@ -2725,7 +2725,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "schema": Object { "arrow": Object { "color": "#666", - "size": "1.1em", + "size": "1.3em", }, "defaultDetailsWidth": "75%", "labelsTextSize": "0.9em", From 81fcb135cf89728d6256c9c14ffcb1c3a3f1e7a1 Mon Sep 17 00:00:00 2001 From: Cameron Koegel Date: Thu, 5 Jan 2023 14:43:30 -0500 Subject: [PATCH 2/2] add pr for tests --- .github/workflows/e2e-tests.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 1d3a9fe8..7278a400 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -1,6 +1,6 @@ name: Tests e2e -on: [push] +on: [push, pull_request] jobs: build-and-e2e: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index ed1d672b..a42754c1 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,6 +1,6 @@ name: Unit Tests -on: [push] +on: [push, pull_request] jobs: build-and-unit: