-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: launch AVD #50
feat: launch AVD #50
Conversation
I think instead of using We could probably use npx @nightwatch/mobile-helper android connect --emulator --avd nightwatch-android-11
# could also use the @ patter that the emulator binary provides
npx @nightwatch/mobile-helper android connect --emulator @nightwatch-android-11 |
@garg3133 I have updated the PR. Here I have used |
In this PR,
but if user passes a command like the one below
an error will be shown since If the user passes a value along with the flag then no error is shown and everything works fine because in the |
You are correct here. If the user passes One question that I have here is - why are we only checking for boolean flags in |
In the |
@itsspriyansh Can you see what is remaining here? |
@garg3133 Sure. I have updated the PR. |
@itsspriyansh Since you were asking whether we should test subcommand scripts or not, the fix I did in the last commit of this PR would have been caught if we have tests because in those tests we would have tried passing different versions of |
This PR adds functionality for launching an AVD. The workflow is triggered using the
--emulator
flag with theconnect
subcomamnd as shown below:npx @nightwatch/mobile-helper android connect --emulator
Screencast.from.04-07-24.10.39.32.PM.IST.webm