Parallel testing with cucumber, selenium and junit 5

51 views Asked by At

My goal is to run features in parralel, but scenarios in order they were written.

I faced the situation where only adding this annotation to RunnerTest class allow to run tests in parallel

@ConfigurationParameters({
        @ConfigurationParameter(key = GLUE_PROPERTY_NAME, value = "web.selenium.steps, web.selenium.testRunner"),
        @ConfigurationParameter(key = PLUGIN_PROPERTY_NAME, value = "pretty, html:target/report.html, io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm"),
        @ConfigurationParameter(key = PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME, value = "true"),

But main problem that after i run tests, they run in wrong order of scenarios. How can i specify order of scenarios?

0

There are 0 answers