CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

Run many scenarios in one feature.

Open SantoMarcelo opened this issue 10 years ago • 2 comments

I need to run many scenarios in one feature. When I execute the feature with many scenarios, the codeceptJs run the first scenario and close the browser, when go execute the second scenario do not open the browser to execute the steps.

SantoMarcelo avatar Jun 23 '16 17:06 SantoMarcelo

I also have one feature file with several scenarios on it. it gets run one at a time though. it loads a window and closes it on each scenarios. In my case its what I want it to since its scenario is an end to end.

ecampii avatar Jul 13 '16 03:07 ecampii

Hey, same problem here, any chance you found any solution? :) Thanks!

EDIT: I fixed it by using local selenium-webdriver instead of a direct connect to the browser. "driver": "local || hosted", (I'm using Protractor helper)

Nighthawk14 avatar Jul 21 '16 03:07 Nighthawk14