[🐛 Bug]: preferScenarioName option for Browserstack service isn't working #7739
Labels
Bug 🐛
good first pick
a reasonable task to start getting familiar with the code base
help wanted
Issues that are free to take by anyone interested
wdio-browserstack-service
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
latest
Node.js Version
14
Mode
WDIO Testrunner
Which capabilities are you using?
No response
What happened?
I'm using browserstack service with
preferScenarioName: true
option to show the scenario name as the session name in Browserstack, but the session name displayed in Browserstack is the name of the feature instead. I'm algo usingwdio-cucumber-parallel-execution
to run the scenarios in parallel that splits the feature file in 1 feature file per scenario.Here is a piece of config file:
What is your expected behavior?
As described in Webdriverio documentation, when I use
preferScenarioName: true
in browserstack service, the scenario's name should be displayed as session name in Browserstack.How to reproduce the bug.
Relevant log output
Code of Conduct
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: