wttech / bobcat

Bobcat is an automated testing framework for functional testing of web applications.
https://cognifide.github.io/bobcat/
Apache License 2.0
90 stars 40 forks source link

IllegalStateException: A scoping block is already in progress #330

Closed open4c closed 5 years ago

open4c commented 5 years ago

Environment

Bobcat version:1.4

Bobcat modules used:

Browser + version: N/A

Expected Behavior

We are using cucumber-jvm-parallel-plugin for parallel execution support. When running tests in parallel all test should work fine.

Actual Behavior

When we are running test in parallel either feature or scenario we are randomly getting

java.lang.IllegalStateException: A scoping block is already in progress

Once test failed with this exception, all remaining test start failing with the same error.

Steps to reproduce

We didn't seen any specific pattern for this issue. It happens when running in parallel on random basis.

Shaihuludus commented 5 years ago

Hi, Versions 1.x of Bobcat are no longer supported (and they contain old versions of Cucumber with many issues resolved in newest releases) and we recommend to switch to the newest 2.1.0 version. This version also changed our approach to Cucumber which is described here: https://cognifide.github.io/bobcat/docs/cucumber/

mkrzyzanowski commented 5 years ago

This is an issue related to Cucumber: https://github.com/cucumber/cucumber-jvm/issues/1485 We are removing bb-cumber module from future versions, to enable smoother integration with Cucumber. For more info, please check: https://cognifide.github.io/bobcat/docs/cucumber/