Skip to content

TypeError: Cannot read property 'indexOf' of undefined #225

@jimmy882

Description

@jimmy882

When I'm skipping a test using this.skip() I get this error:
TypeError: Cannot read property 'indexOf' of undefined
The reason why I'm skipping test is that we are visiting some url and maybe 1 % of those visits are hanging. I don't want to have this as a failed test in my report, because I'm testing the app, not the server and skipping a test in case of visit time out looks better in reports.
Example is here: https://stackoverflow.com/questions/54530318/skipping-a-test-in-cypress-conditionally

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions