Skip to content

BROWSERSTACK_APP_ID returns custom_id if set #19

New issue

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

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

Already on GitHub? # to your account

Open
ustav opened this issue Jan 3, 2023 · 0 comments
Open

BROWSERSTACK_APP_ID returns custom_id if set #19

ustav opened this issue Jan 3, 2023 · 0 comments

Comments

@ustav
Copy link

ustav commented Jan 3, 2023

TL;DR;

in upload_to_browserstack_app_automate_action.rb BROWSERSTACK_APP_ID holds app_url or custom_id if it is set

BROWSERSTACK_APP_ID should always return app_url or at least there should be a variable that returns it.

Longer version.

in upload_to_browserstack_app_automate_action.rb BROWSERSTACK_APP_ID returns app_url which could be used to set the specific app for testing. custom_id could be used as an additional piece of information, but could not be used instead of app_url.

Even more, custom_id is provided by the user so it is known from the beginning. app_url is generated on the server and could not be known in advance. There's no reason to return custom_id instead of app_url

Please change this behavior in browserstack_helper.rb in lines 48-52.

app_url should always be returned as it is needed to run subsequent tests

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

No branches or pull requests

1 participant