boxblinkracer / cypress-testrail

A decoupled TestRail integration for your Cypress project to easily send results to TestRail
MIT License
33 stars 24 forks source link

Running multiple spec files at once is throwing an error from cucumber plugin after integrating with test rail #50

Open saiDEE12 opened 1 year ago

saiDEE12 commented 1 year ago

I have done the configuration and it is working as expected for a signle feature file. but when trying to run multiple feature at a time, after completion of running one feature file, it is throwing below errors. command used for running An error was thrown in your plugins file while executing the handler for the before:spec event. The error we received was: Error: Unexpected state in beforeSpecHandler: test-finished (this might be a bug, please report at https://github.com/badeball/cypress-cucumber-preprocessor) at createError (D:\Oct19TestRailIntegration\unity-hrq-automation-tests\node_modules\@badeball\cypress-cucumber-preprocessor\dist\helpers\error.js:9:12) at beforeSpecHandler (D:\Oct19TestRailIntegration\unity-hrq-automation-tests\node_modules\@badeball\cypress-cucumber-preprocessor\dist\plugin-event-handlers.js:190:43) at processTicksAndRejections (node:internal/process/task_queues:95:5)

boxblinkracer commented 9 months ago

Hi there so with v2.10.0 i've officially checked the cucumber plugin can you try it again with the README descriptions? maybe you also need the cypress-on-fix plugin that is new described?

thank you for trying it again :)