Is there a way to control step input dynamically?


#1

Hello, I am new to Bitrise step development.
I’d like to develop a custom step to execute UI tests against the app using our own testing service.
As the service has a lot of complicated properties, I’d like to show/hide input fields according to the user’s current choice.
For example, when the user selects ‘Android’ for target OS, fields for app package and app activity are displayed.

Moreover, we’d like to update value options according to the user’s choice (when the user selects ‘Android’, options for os version input are limited to those of Android)

Is there a way to control such a thing?


#2

Hi @nkns165!

Thanks for raising this question. You do not have this specific option, but you could use a ‘Category’ flag to group inputs (more general, info here: https://devcenter.bitrise.io/bitrise-cli/step-inputs/) which should help you to create a more understandable and accessible UX for your step! :slight_smile:


#4

Thank you for your response, I will try it.