-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Describe your idea
Proposal for introducing pre-test system UI preps performed automatically by Detox upon device allocation, alongside control via configuration:
Option1:
{
devices: {
'android.google.emulator': {
type: 'android.emulator',
device: {
avdName: 'Pixel_10_API_36',
},
systemUI: 'default',
},
}
}Option 2 (high granularity, all properties optional):
{
devices: {
'android.google.emulator': {
type: 'android.emulator',
device: {
avdName: 'Pixel_10_API_36',
},
systemUI: {
keyboard: 'hide',
touches: 'show',
pointerLocationBar: 'hide',
navigationMode: '3-button',
statusBar: {
notifications: 'hidden',
wifi: 'full',
networkBar: 'hide',
batteryLevel: 100,
charging: true,
},
},
},
},
}Option 3 (combo):
{
devices: {
'android.google.emulator': {
type: 'android.emulator',
device: {
avdName: 'Pixel_10_API_36',
},
systemUI: {
extends: 'default',
navigationMode: 'gesture',
statusBar: {
charging: false,
},
},
},
}
}