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

Throwing error every time the test if failed - "path.basename is not a function" #277

Open
kalpeshchilka opened this issue Oct 1, 2021 · 1 comment
Labels
needs reproduction Hard to tell without a reproducible example

Comments

@kalpeshchilka
Copy link

kalpeshchilka commented Oct 1, 2021

@bahmutov
When running our e2e test with the cypress-failed-log plugin, whenever the test is failed for any reason, "path.basename is not a function" is displayed in the cypress runner.

Using below versions:
"cypress-failed-log": "^2.9.1",
"cypress": "^8.3.1",
"@neuralegion/cypress-har-generator": "^5.2.3"

One possible theory is that this error started to pop up after installing a cypress-har-generator plugin. Maybe a module collision or something?

Refer attached screenshot for reference error.

Any help or workaround for this issue will be really appreciated.

Screenshot 2021-10-01 at 11 11 59 AM

@bahmutov
Copy link
Owner

bahmutov commented Oct 1, 2021

Probably - I do not see this error myself, so looking for a reproducible example

@bahmutov bahmutov added the needs reproduction Hard to tell without a reproducible example label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction Hard to tell without a reproducible example
Projects
None yet
Development

No branches or pull requests

2 participants