-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Is there a way to set the avd name? #59
Comments
Not at the moment, but it’s easy to add a new config for this. |
We use As part of the setup, you need to setup the avdName you want the tool to use as part of the testing - see here https://github.com/wix/Detox/blob/master/docs/Introduction.Android.md#5-add-android-configuration I have just created another config - |
PS: this action is a life saver |
Cool I’ll add support for specifying |
@alex-benoit in the meantime you can use |
This is now supported:
|
@ychescale9 I am getting this now :(
|
I just tested with your workflow and it seems to work. So looks like it's still not compatible with If you put Can you please share the log? |
You seem to also have this emulator id show up in your previous workflow: Not sure what is going on... Full Log: 5_Run Android UI Tests.txt |
The log you attached looks perfectly fine. Can you share the log for the previous one with |
this is the previous one - maybe I'm missing something - I'm not expert either! |
@alex-benoit what I found with detox is that it can start/stop the emulator for the tests. So I ended up creating a very simple action for my own workflows, that just creates the emulator but doesn't start it. I haven't added a name to the emulator, it's - name: Create Emulator
uses: rigor789/action-create-emulator@master
- name: Test
run: |
detox test -c android.emu \
--device-name test \
--take-screenshots failing \
--artifacts-location ./.artifacts/ \
--cleanup |
I get this error when running the tests on the emulator
Is there a way to name the emulator so that I matches our development configuration?
The text was updated successfully, but these errors were encountered: