0

我正在用黄瓜研究柏树,当我尝试运行我的程序时,会出现以下消息:

The following error was thrown by a plugin. We stopped running your tests because a plugin crashed. Please check your plugins file (C:\Projetos\BDD_Heroku\cypress\plugins\index.js)

CompositeParserException: Parser errors:(1:1): expected: #EOF, #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Scenario: sdngfg'
(3:5): expected: #EOF, #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'ghghfgh'
(5:1): expected: #EOF, #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Scenario: sdfhughf'
(6:5): expected: #EOF, #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Given hghgh'
(7:5): expected: #EOF, #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'And fgfdghgg'
(8:5): expected: #EOF, #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'When gdfghfdh'
(9:5): expected: #EOF, #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Then sdgdfghfg'
    at Function.Errors.CompositeParserException.create (C:\Projetos\BDD_Heroku\node_modules\gherkin\lib\gherkin\errors.js:27:13)
    at Parser.parse (C:\Projetos\BDD_Heroku\node_modules\gherkin\lib\gherkin\parser.js:72:45)
    at module.exports (C:\Projetos\BDD_Heroku\node_modules\cypress-cucumber-preprocessor\lib\loader.js:29:33)
    at Stream.end (C:\Projetos\BDD_Heroku\node_modules\cypress-cucumber-preprocessor\lib\index.js:24:18)
    at _end (C:\Projetos\BDD_Heroku\node_modules\through\index.js:65:9)
    at Stream.stream.end (C:\Projetos\BDD_Heroku\node_modules\through\index.js:74:5)
    at DestroyableTransform.onend (C:\Projetos\BDD_Heroku\node_modules\readable-stream\lib\_stream_readable.js:577:10)
    at Object.onceWrapper (events.js:421:28)
    at DestroyableTransform.emit (events.js:327:22)
    at endReadableNT (C:\Projetos\BDD_Heroku\node_modules\readable-stream\lib\_stream_readable.js:1010:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Stack trace
Error: The following error was thrown by a plugin. We stopped running your tests because a plugin crashed. Please check your plugins file (`C:\Projetos\BDD_Heroku\cypress\plugins\index.js`)
    at Object.get (C:\Users\joao.ramos\AppData\Local\Cypress\Cache\7.7.0\Cypress\resources\app\packages\server\lib\errors.js:1003:15)
    at EventEmitter.handleError (C:\Users\joao.ramos\AppData\Local\Cypress\Cache\7.7.0\Cypress\resources\app\packages\server\lib\plugins\index.js:175:20)
    at EventEmitter.emit (events.js:315:20)
    at ChildProcess.<anonymous> (C:\Users\joao.ramos\AppData\Local\Cypress\Cache\7.7.0\Cypress\resources\app\packages\server\lib\plugins\util.js:19:22)
    at ChildProcess.emit (events.js:315:20)
    at emit (internal/child_process.js:903:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)"

上周它在学习同样的东西,还可以。

有小费吗?

4

0 回答 0