Cucumber scenario started twice

I have below test runner for executing single specified scenarios by tag:

@CucumberOptions(
features = {"src/test/resources/features"},
glue = "",
plugin = { "html:src/test/resources/execution/report/cucumber-reports.html" },
tags = "@Test905"
)
public class TestRunnerSingle extends AbstractTestRunner {
}

It worked ok for a long time but few weeks ago (and I don't remember any update made that time) I started to have problem. It generally works ok but after few executions of this runner (by few I mean several or several dozens - it look completely random for me) it runs two instances of given scenario. When it happens I need to restart my IntelliJ and then works ok for some executions until this problem repeats.

It's very annoying and I've no idea what can trigger this behavior.

I use IntelliJ 2018.1.7 with OpenJDK 1.8, cucumber version: 6.9.1, selenium: 3.141.59 and testng: 7.0.0 and I said nothing was changed in this configuration except Slf4j update.

0

Hi, could you pls check if the issue can be reproduced on your project with the recent version of IDEA (2022.1)? If yes, could you pls share the IDEA log (Help | Collect logs) and a sample project for reproducing the issue?

0

请先登录再写评论。