From 92533ce64d09f148681e9ff25bdc893350ca09ee Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 3 Sep 2024 09:02:18 +0200 Subject: [PATCH] use suite titles again --- 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 f99b0be009..eecfbe5fc2 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.config!.projects.map(s => s.name), + choices: teleSuiteUpdater.rootSuite!.suites.map(s => s.title), }).catch(() => ({ selectedProjects: null })); if (!selectedProjects) continue;