tnicola / cypress-parallel

Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
MIT License
586 stars 122 forks source link

Some of feature files is not executed #122

Open x-rezkioksa opened 2 years ago

x-rezkioksa commented 2 years ago

Hi Folks!

I've encountered an issue related on the some feature files is not executed. I'm using buddy pipeline and with details:

I've monitored it and realized that the number of test cases is frequently different. when I trace it, some of the feature files are not executed: Screen Shot 2022-08-21 at 3 48 49 PM

as in the picture, the feature file is listed but never executed.

Jsijbel commented 2 years ago

Looks like the spec is not found. It only listed as searched.

x-rezkioksa commented 2 years ago

Looks like the spec is not found. It is only listed as searched.

I think so, but the interesting part is, this sometimes happens. so there is a case when all spec file has been executed, and there is a time when some spec file is missing.

x-rezkioksa commented 2 years ago

Update, the inconsistency become more often when do the automation with Slow build . so I need to rerun it, until now I still cannot get the workaround.

image

This is buddy pipeline that I set up:

image

Every action hold specify folder and run for parallel using cypress parallel.

tausif29 commented 9 months ago

I am also facing the same issue, I am using Cypress with Cucumber, Some feature files are not getting executed. I have updated this plugin to the latest version("cypress-parallel": "^0.14.0"), Still I am facing the same issue on random basis, 1 out of 5 times some feature files are not executed.

tausif29 commented 9 months ago

After observation of all previous build found that, there 2 types of issue.

  1. Spec (feature) is not found in search but test not executed.
  2. Spec (feature) file neither found in search nor test executed.