From b1eb7cfdb57e49b1840b9fa5a7e10e38d44cd13d Mon Sep 17 00:00:00 2001 From: Mrunal Chaudhari Date: Mon, 11 May 2026 18:48:28 +0530 Subject: [PATCH] fix: add steps and step-definitions to SPEC_FILE_PATTERN regex --- packages/service/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/service/src/constants.ts b/packages/service/src/constants.ts index fc4ebe5..279d747 100644 --- a/packages/service/src/constants.ts +++ b/packages/service/src/constants.ts @@ -101,7 +101,7 @@ export const CONTEXT_CHANGE_COMMANDS = [ * Existing pattern (kept for any external consumers) */ export const SPEC_FILE_PATTERN = - /\/(test|spec|features|pageobjects|@wdio\/expect-webdriverio)\//i + /\/(test|spec|features|steps|step-definitions|pageobjects|@wdio\/expect-webdriverio)\//i /** * Parser options