Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serenity-Browserstack integration fails to launch multiple browsers for custom driver if environment property is used at runtime #14

Open
ajinx29 opened this issue Jun 1, 2020 · 0 comments

Comments

@ajinx29
Copy link

ajinx29 commented Jun 1, 2020

Hi,
For the repo example is
https://github.com/browserstack/serenity-browserstack

If I pass environment property at runtime to maven using -Denvironemnt=qa Browserstack only uses chrome on multiple threads for test execution.

If environment is defined at property level or not passed at all then all different browsers are getting launched properly.

Working command with different browsers
clean compile verify -Dbrowserstack.user=<usrname> -Dbrowserstack.key=<key> -Dcucumber.filter.tags="@Cycle=FAQ" serenity:aggregate -P parallel

Non working command for multiple browsers
clean compile verify -Denvironemnt=Prod -Dbrowserstack.user=<usrname> -Dbrowserstack.key=<key> -Dcucumber.filter.tags="@Cycle=FAQ" serenity:aggregate -P parallel

As per Serenity
Above code example is written and maintained by Browserstack; please ask them for assistance with it. It uses a custom driver and custom properties which are not standard Serenity.

See https://serenity-bdd.github.io/theserenitybook/latest/remote.html#_running_serenity_tests_on_browserstack for the documentation on working with Browserstack in Serenity.

Kindly assist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant