serenity-bdd / serenity-jbehave

The Serenity integration for JBehave
39 stars 34 forks source link

Question - Appium parallel run with Serenity #259

Open Abhishek-Sharma21 opened 2 years ago

Abhishek-Sharma21 commented 2 years ago

Hi,

We're trying to do appium parallel run in serenity. Ideally trying to run -> story 1 on device 1 and story 2 on device 2 ..! Since the driver capabilities are managed from serenity.property/serenity.conf , how can I pass diff capabilities for diff stories (uuid, platform version etc) as that we would need to differentiate between the devices for mobile parallel tests?

For now, we're using Jbehave embedderControl to start multiple threads from Runner file which extends SerenityStories class-

EmbedderControls embedderControls = configuredEmbedder() .embedderControls(); embedderControls.useStoryTimeouts("5000"); embedderControls.useThreads(3);

Abhishek-Sharma21 commented 2 years ago

any thoughts ? @wakaleo