{"record":{"id":"95591606f6d7d0b9","repo":"langgenius/dify","slug":"cucumber-selected-zero-scenarios-check-the-active","errorCode":null,"errorMessage":"Cucumber selected zero scenarios. Check the active tag expression and paths.","messagePattern":"Cucumber selected zero scenarios\\. Check the active tag expression and paths\\.","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"e2e/support/cucumber-messages.ts","lineNumber":16,"sourceCode":"type CucumberMessage = {\n  testCaseStarted?: unknown\n}\n\nexport const countStartedCucumberScenarios = (contents: string) =>\n  contents\n    .split(/\\r?\\n/)\n    .filter(Boolean)\n    .map((line) => JSON.parse(line) as CucumberMessage)\n    .filter((message) => message.testCaseStarted !== undefined).length\n\nexport const assertCucumberScenariosStarted = (contents: string) => {\n  const started = countStartedCucumberScenarios(contents)\n\n  if (started === 0)\n    throw new Error('Cucumber selected zero scenarios. Check the active tag expression and paths.')\n}\n","sourceCodeStart":1,"sourceCodeEnd":18,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/e2e/support/cucumber-messages.ts#L1-L18","documentation":"Error \"Cucumber selected zero scenarios. Check the active tag expression and paths.\" thrown in langgenius/dify.","triggerScenarios":"Thrown at e2e/support/cucumber-messages.ts:16 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"ef8544b173fd6cd7a8e71df2cab576e52bebbfbc","analyzedAt":"2026-08-12T05:15:17.394Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}