Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of null (reading 'seconds') #903

Closed
3 tasks done
martinocatur opened this issue Dec 12, 2022 · 4 comments
Closed
3 tasks done

Cannot read properties of null (reading 'seconds') #903

martinocatur opened this issue Dec 12, 2022 · 4 comments

Comments

@martinocatur
Copy link

martinocatur commented Dec 12, 2022

Current behavior

image

Screen Shot 2022-12-12 at 20 23 15

Desired behavior

No properties of null (reading 'seconds') error

Test code to reproduce

image

Error appears in this block code after switch to @badeball/cypress-cucumber-preprocessor (same result when i tried on v14 and v15)

Previously, It works as expected using:

"cypress": "11.2.0",
"cypress-cucumber-preprocessor": "^4.0.0",

Versions

  • Cypress version: 11.2.0
  • Preprocessor version: 15.0.0
  • Node version: 19.0.1

Checklist

@martinocatur
Copy link
Author

image

not sure how can this happen

@badeball
Copy link
Owner

It's impossible to say given the provided information. You need to provide a complete and runnable example, so that I can observe the issue myself.

@fabio-grieco
Copy link

Hi, I got the same error. @badeball you can find a runnable example here. I'm using node v18.14.0 (npm v9.3.1).

@badeball
Copy link
Owner

badeball added a commit that referenced this issue Apr 12, 2023
This hopefully helps to explain scenarios such as #903.
badeball added a commit that referenced this issue Apr 26, 2023
This hopefully helps to explain scenarios such as #903.
badeball added a commit that referenced this issue Apr 27, 2023
This hopefully helps to explain scenarios such as #903.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants