Closed rakeshnambiar closed 1 year ago
Hey, and thanks for reporting this issue. You need to provide a minimal, reproducible example issues that illustrates the issue.
@badeball that is very difficult as I cannot share the original application details here. Let me see if I can reproduce it on any other public website :(
Hi, i also have the same issue when github action running the jobs. also we can reproduce the issue by running npx cypress run --env someEnvVariable --browser {chrome, edge}
Feel free to provide me with an example any time soon.
I am also facing this issue, after upgrading to version '^17.2.0' of cypress-cucumber-preprocessor. This is the error I got in the Jenkins console.
`An error was thrown in your plugins file while executing the handler for the after:run event.
The error we received was:
TypeError: Cannot destructure property 'message' of 'testStepResult' as it is undefined.
at JsonFormatter.getStepData (C:\jenkins\workspace\S12\S12_Regression_Tests\node_modules\@cucumber\cucumber\src\formatter\json_formatter.ts:281:13)
at C:\jenkins\workspace\S12\S12_Regression_Tests\node_modules\@cucumber\cucumber\src\formatter\json_formatter.ts:161:23
at Array.map (
Cypress version: 11.2.0 Node version: v18.16.0
I want to remind readers that the only thing I want, is a way to reproduce the issue.
@youvegotnigel, you mention a version range (^17.2.0
), which doesn't really help me. More useful would be to tell me exactly which version that introduces the erroneous behavior.
Closing due to lack of a reproducible example. Feel free to open up another issue if anything changes in this regard.
Current behavior
On GitLabCI, when the tests are running continuously by the pipeline, it is failing very often. The error which I can see Intermittently getting the error CypressError:
cy.task('cypress-cucumber-preprocessor:test-step-finished')
timed out after waiting60000ms
. Also, it didn't generate the multiple-cucumber report due to this error.Desired behaviour
The test should work without any further issues and reports has to be generated.
Versions