Fix: the API used android or android.enabled for Android configuration (#4427)

This commit is contained in:
Peter Hedenskog 2025-02-02 14:24:31 +01:00 committed by GitHub
parent 4e6cf72010
commit f48e9723a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -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';