diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index db336efd..145395a0 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -1,6 +1,6 @@ name: E2E Tests -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: diff --git a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap index ffcfbdb0..e5608f39 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",