TypeError: Cannot read property '_currentRetry' of undefined #9568
Unanswered
mrsenzy
asked this question in
Component Testing
Replies: 1 comment 1 reply
-
Can you try the latest cypress version which is 6.1.0
…Sent from my iPhone
On Dec 8, 2020, at 12:42, mrsenzy ***@***.***> wrote:
New to cypress and setting up a cucumber framework with cypress 5.4.0 and cypress-cucumber-preprocessor: 3.0.0 and trying to run an simple login application. Getting below error while running from command prompt (both with Electron & chrome), through Cypress UI it works fine.
I have just put a feature file & js file for it and trying to run it.
When i tried with another feature for google application, it is running fine from command line.
Through someone recommendation, tried below option by adding in cypress.json, but still the error display.
"retries": {
"runMode": 1,
"openMode": 0
}
Any help with it.
TypeError: Cannot read property '_currentRetry' of undefined
at Reporter. (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\reporter.js:141:46)
at Reporter.parseArgs (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\reporter.js:337:18)
at Reporter.emit (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\reporter.js:319:17)
at Object.onMocha (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\project.js:360:18)
at Socket. (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\socket.js:320:32)
at Socket.emit (events.js:310:20)
at C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\socket\node_modules\socket.io\lib\socket.js:528:12
at processTicksAndRejections (internal/process/task_queues.js:79:11)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New to cypress and setting up a cucumber framework with cypress 5.4.0 and cypress-cucumber-preprocessor: 3.0.0 and trying to run an simple login application. Getting below error while running from command prompt (both with Electron & chrome), through Cypress UI it works fine.
I have just put a feature file & js file for it and trying to run it.
When i tried with another feature for google application, it is running fine from command line.
Through someone recommendation, tried below option by adding in cypress.json, but still the error display.
"retries": {
"runMode": 1,
"openMode": 0
}
Any help with it.
TypeError: Cannot read property '_currentRetry' of undefined
at Reporter. (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\reporter.js:141:46)
at Reporter.parseArgs (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\reporter.js:337:18)
at Reporter.emit (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\reporter.js:319:17)
at Object.onMocha (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\project.js:360:18)
at Socket. (C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\server\lib\socket.js:320:32)
at Socket.emit (events.js:310:20)
at C:\Users\COG\AppData\Local\Cypress\Cache\5.4.0\Cypress\resources\app\packages\socket\node_modules\socket.io\lib\socket.js:528:12
at processTicksAndRejections (internal/process/task_queues.js:79:11)
Beta Was this translation helpful? Give feedback.
All reactions