From 835320908a067bd716f42b2b3ea904ad92429464 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 3 Sep 2024 08:48:36 +0200 Subject: [PATCH] get project names from config --- packages/playwright/src/runner/watchMode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright/src/runner/watchMode.ts b/packages/playwright/src/runner/watchMode.ts index dcb0310c50..00a7087b21 100644 --- a/packages/playwright/src/runner/watchMode.ts +++ b/packages/playwright/src/runner/watchMode.ts @@ -163,7 +163,7 @@ export async function runWatchModeLoop(configLocation: ConfigLocation, initialOp type: 'multiselect', name: 'selectedProjects', message: 'Select projects', - choices: teleSuiteUpdater.rootSuite!.suites.map(s => s.title), + choices: teleSuiteUpdater.config!.projects.map(s => s.name), }).catch(() => ({ selectedProjects: null })); if (!selectedProjects) continue;