Fix: the API used android or android.enabled for Android configuration (#4427)
This commit is contained in:
parent
4e6cf72010
commit
f48e9723a7
|
|
@ -46,7 +46,10 @@ async function api(options) {
|
|||
|
||||
if (apiOptions.mobile) {
|
||||
apiOptions.api.testType = 'emulatedMobile';
|
||||
} else if (apiOptions.android) {
|
||||
} else if (
|
||||
apiOptions.android === true ||
|
||||
apiOptions.android.enabled === true
|
||||
) {
|
||||
apiOptions.api.testType = 'android';
|
||||
} else if (apiOptions.safari && apiOptions.safari.ios) {
|
||||
apiOptions.api.testType = 'ios';
|
||||
|
|
|
|||
Loading…
Reference in New Issue