diff --git a/docs/generated/packages/playwright/executors/playwright.json b/docs/generated/packages/playwright/executors/playwright.json index 5cb06ef6e27ae..89aac803dec31 100644 --- a/docs/generated/packages/playwright/executors/playwright.json +++ b/docs/generated/packages/playwright/executors/playwright.json @@ -154,7 +154,7 @@ "description": "Host to serve UI on; specifying this option opens UI in a browser tab" }, "uiPort": { - "type": "string", + "type": "number", "description": "Port to serve UI on, 0 for any free port; specifying this option opens UI in a browser tab" }, "skipInstall": { diff --git a/packages/playwright/src/executors/playwright/playwright.impl.ts b/packages/playwright/src/executors/playwright/playwright.impl.ts index 4624f60e95576..4bebac5e9bab9 100644 --- a/packages/playwright/src/executors/playwright/playwright.impl.ts +++ b/packages/playwright/src/executors/playwright/playwright.impl.ts @@ -54,7 +54,7 @@ export interface PlaywrightExecutorSchema { updateSnapshots?: boolean; ui?: boolean; uiHost?: string; - uiPort?: string; + uiPort?: number; skipInstall?: boolean; } diff --git a/packages/playwright/src/executors/playwright/schema.json b/packages/playwright/src/executors/playwright/schema.json index a7ee7820ef18a..d73720ea07708 100644 --- a/packages/playwright/src/executors/playwright/schema.json +++ b/packages/playwright/src/executors/playwright/schema.json @@ -155,7 +155,7 @@ "description": "Host to serve UI on; specifying this option opens UI in a browser tab" }, "uiPort": { - "type": "string", + "type": "number", "description": "Port to serve UI on, 0 for any free port; specifying this option opens UI in a browser tab" }, "skipInstall": {