We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647592b commit 36c2091Copy full SHA for 36c2091
cypress-tags.js
@@ -38,6 +38,11 @@ paths.forEach(featurePath => {
38
const spec = `${fs.readFileSync(featurePath)}`;
39
const parsedFeature = new Parser().parse(spec);
40
41
+ if (!parsedFeature.feature) {
42
+ debug(`Feature: ${featurePath} is empty`);
43
+ return;
44
+ }
45
+
46
const featureTags = parsedFeature.feature.tags;
47
const featureShouldRun = shouldProceedCurrentStep(featureTags, envTags);
48
const taggedScenarioShouldRun = parsedFeature.feature.children.some(
0 commit comments