From 13ba999dafbb66794dff8783de60d46395a9b194 Mon Sep 17 00:00:00 2001 From: EGonz1_PCTY Date: Wed, 14 Aug 2024 12:59:40 -0500 Subject: [PATCH 1/2] fix(misc): removed Enum from playwright json schema and reworded description --- packages/playwright/src/executors/playwright/schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/playwright/src/executors/playwright/schema.json b/packages/playwright/src/executors/playwright/schema.json index 465e2cf25830e..d10fa05ad0d7c 100644 --- a/packages/playwright/src/executors/playwright/schema.json +++ b/packages/playwright/src/executors/playwright/schema.json @@ -105,7 +105,7 @@ }, "reporter": { "type": "string", - "enum": [ + "items": [ "list", "line", "dot", @@ -116,7 +116,7 @@ "html", "blob" ], - "description": "Reporter to use, comma-separated, can be 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration." + "description": "Common Reporter values to use, comma-separated, 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration." }, "retries": { "type": "number", From 5925cd7d2ba789c6ac76fee105fe9f09dd6b4463 Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Wed, 14 Aug 2024 15:05:05 -0400 Subject: [PATCH 2/2] chore(testing): docs --- .../packages/playwright/executors/playwright.json | 13 +------------ .../playwright/src/executors/playwright/schema.json | 11 ----------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/docs/generated/packages/playwright/executors/playwright.json b/docs/generated/packages/playwright/executors/playwright.json index 2127658975e54..a6d210aad88a1 100644 --- a/docs/generated/packages/playwright/executors/playwright.json +++ b/docs/generated/packages/playwright/executors/playwright.json @@ -104,18 +104,7 @@ }, "reporter": { "type": "string", - "enum": [ - "list", - "line", - "dot", - "json", - "junit", - "null", - "github", - "html", - "blob" - ], - "description": "Reporter to use, comma-separated, can be 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration." + "description": "Common Reporter values to use, comma-separated, 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration." }, "retries": { "type": "number", diff --git a/packages/playwright/src/executors/playwright/schema.json b/packages/playwright/src/executors/playwright/schema.json index d10fa05ad0d7c..8b2c1c39996a1 100644 --- a/packages/playwright/src/executors/playwright/schema.json +++ b/packages/playwright/src/executors/playwright/schema.json @@ -105,17 +105,6 @@ }, "reporter": { "type": "string", - "items": [ - "list", - "line", - "dot", - "json", - "junit", - "null", - "github", - "html", - "blob" - ], "description": "Common Reporter values to use, comma-separated, 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration." }, "retries": {