Skip to content

Fails due to Uncaught TypeError: Cannot read property 'native' of undefined #362

@redReno

Description

@redReno

I haven't made any changes to my projects except running yarn install, but now I can't run any tests using Cucumber, while normal Cypress tests run fine.

I tested creating the Google example files and get the same error.

An uncaught error was detected outside of a test:
Uncaught TypeError: Cannot read property 'native' of undefined.

Here's the full error log;
` Running: Google.feature (1 of 1)

  1. An uncaught error was detected outside of a test

0 passing (193ms)
1 failing

  1. An uncaught error was detected outside of a test:
    Uncaught TypeError: Cannot read property 'native' of undefined

This error originated from your test code, not from Cypress.

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
at Object. (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:59549:35)
at Object.361../caller.js (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:59835:4)
at o (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:265)
at http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:316
at Object.360../lib/async (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:59533:13)
at o (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:265)
at http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:316
at Object. (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:16149:16)
at Object.178.bluebird (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:16155:4)
at o (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:265)
at http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:316
at Object.177.../formatter/builder (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:15896:26)
at o (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:265)
at http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:316
at Object.206../cli (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:18507:12)
at o (http://localhost:35739/__cypress/tests?p=cypress/integration/Google.feature-026:1:265)
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions