Cypress grep returns odd error after tests being run #25469
Unanswered
Dzanan91
asked this question in
Questions and Help
Replies: 2 comments 1 reply
-
Getting same error |
Beta Was this translation helpful? Give feedback.
1 reply
-
in the e2e support file add the following:
in the config file cypress.config.ts add the following:
now the error should be gone. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Got this error when running tests with tags using cypress/grep :
**An uncaught error was detected outside of a test:
TypeError: The following error originated from your test code, not from Cypress.
support file :
// "import" with
@ts-ignore
// @see error 2306 https://github.com/microsoft/TypeScript/blob/3fcd1b51a1e6b16d007b368229af03455c7d5794/src/compiler/diagnosticMessages.json#L1635
// @ts-ignore
import registerCypressGrep from '@cypress/grep'
registerCypressGrep()
config file:
setupNodeEvents(on, config) {
require('@cypress/grep/src/plugin')(config);
return config;
},
Beta Was this translation helpful? Give feedback.
All reactions