Skip to content
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

Very slow replaceText on very long strings #4560

Open
2 tasks done
dodomorandi opened this issue Aug 21, 2024 · 2 comments
Open
2 tasks done

Very slow replaceText on very long strings #4560

dodomorandi opened this issue Aug 21, 2024 · 2 comments

Comments

@dodomorandi
Copy link

dodomorandi commented Aug 21, 2024

What happened?

TL;DR: In case a very long string is provided when using replaceText (i.e: ~16KB), the emulator hangs for a very long time.

Longer explanation: in order to test an application that requires scanning QR codes with the camera, the E2E build adds a text field that can be used to directly put a JSON containing the information that could be (directly or indirectly) obtained by the QR code. The problem arises from some tests that require a relatively big JSON. I also tried to disable synchronization and waitFor the text field to be written, but the problem remains.

What was the expected behaviour?

The operation should take a few moments, nothing more. This is the actual behavior on Android.

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 20.25.5
React Native version: 0.74.5
Has Fabric (React Native's new rendering system) enabled: no
Node version: 22.2.0
Device model: iPhone 15
iOS version: 17.5
macOS version: 14.6.1
Xcode version: 15.4
Test-runner (select one): jest

Detox logs

See first comment

Device logs

See first comment

More data, please!

No response

@dodomorandi
Copy link
Author

dodomorandi commented Aug 21, 2024

Detox logs

Detox logs
13:04:44.250 detox[17747] B lifecycle node_modules/.bin/detox test -c ios.sim.debug --loglevel trace Favorite -t Aggiunge e toglie preferiti
  data: {
    "id": "36b77e3c-ab1c-a58a-b22d-c30130a3b4a5",
    "detoxConfig": {
      "configurationName": "ios.sim.debug",
      "apps": {
        "default": {
          "type": "ios.app",
          "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/[REDACTED]",
          "build": "xcodebuild -workspace ios/[REDACTED].xcworkspace -scheme [REDACTED] -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build"
        }
      },
      "artifacts": {
        "rootDir": "artifacts/ios.sim.debug.2024-08-21 11-04-44Z",
        "plugins": {
          "log": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "screenshot": {
            "enabled": true,
            "shouldTakeAutomaticSnapshots": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "video": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "instruments": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "uiHierarchy": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          }
        }
      },
      "behavior": {
        "init": {
          "keepLockFile": false,
          "reinstallApp": true,
          "exposeGlobals": true
        },
        "cleanup": {
          "shutdownDevice": false
        },
        "launchApp": "auto"
      },
      "cli": {
        "configuration": "ios.sim.debug",
        "loglevel": "trace",
        "start": true
      },
      "commands": [
        {
          "appName": "default",
          "build": "xcodebuild -workspace ios/[REDACTED].xcworkspace -scheme [REDACTED] -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build"
        }
      ],
      "device": {
        "type": "ios.simulator",
        "device": {
          "type": "iPhone 15"
        }
      },
      "logger": {
        "level": "trace",
        "overrideConsole": true,
        "options": {
          "showLoggerName": true,
          "showPid": true,
          "showLevel": false,
          "showMetadata": false,
          "basepath": "/Users/user/src/[REDACTED]/node_modules/detox/src",
          "prefixers": {},
          "stringifiers": {}
        }
      },
      "testRunner": {
        "retries": 0,
        "forwardEnv": false,
        "detached": false,
        "bail": false,
        "jest": {
          "setupTimeout": 120000,
          "teardownTimeout": 30000,
          "retryAfterCircusRetries": false,
          "reportWorkerAssign": true
        },
        "args": {
          "$0": "jest",
          "_": [
            "Favorite"
          ],
          "config": "e2e/jest.config.cjs",
          "t": "Aggiunge e toglie preferiti",
          "--": []
        }
      },
      "session": {
        "autoStart": true,
        "debugSynchronization": 10000
      }
    },
    "detoxIPCServer": "primary-17747",
    "testResults": [],
    "testSessionIndex": 0,
    "workersCount": 0
  }
13:04:44.257 detox[17747] i ipc Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-17747
13:04:44.259 detox[17747] i ipc starting server on  /tmp/detox.primary-17747 
13:04:44.259 detox[17747] i ipc starting TLS server false
13:04:44.260 detox[17747] i ipc starting server as Unix || Windows Socket
13:04:44.263 detox[17747] i ws-server Detox server listening on localhost:51708...
13:04:44.271 detox[17747] i lifecycle Serialized the session state at: /private/var/folders/rr/jdx_zgtd67bcfmnrfxc36khr0000gr/T/36b77e3c-ab1c-a58a-b22d-c30130a3b4a5.detox.json
13:04:44.273 detox[17747] B lifecycle jest --config e2e/jest.config.cjs -t Aggiunge\ e\ toglie\ preferiti Favorite
13:04:45.333 detox[17748] i ipc Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id 
13:04:45.348 detox[17748] i ipc requested connection to  primary-17747 /tmp/detox.primary-17747
13:04:45.348 detox[17748] i ipc Connecting client on Unix Socket : /tmp/detox.primary-17747
13:04:45.350 detox[17747] i ipc ## socket connection to server detected ##
13:04:45.353 detox[17748] i ipc retrying reset
13:04:45.356 detox[17748] i ipc dispatching event to  primary-17747 /tmp/detox.primary-17747  :  registerContext , { id: �[32m'secondary-17748'�[39m }
13:04:45.360 detox[17747] i ipc received event of :  registerContext { id: �[32m'secondary-17748'�[39m }
13:04:45.360 detox[17747] i ipc dispatching event to socket  :  registerContextDone {
  testResults: [],
  testSessionIndex: �[33m0�[39m,
  unsafe_earlyTeardown: �[90mundefined�[39m
}
13:04:45.362 detox[17748] i ipc ## received events ##
13:04:45.363 detox[17748] i ipc detected event registerContextDone { testResults: [], testSessionIndex: �[33m0�[39m }
13:04:45.443 detox[17748] B lifecycle e2e/Favorites/Favorites.test.ts
13:04:45.464 detox[17748] B lifecycle set up environment
13:04:45.466 detox[17748] i ipc dispatching event to  primary-17747 /tmp/detox.primary-17747  :  registerWorker , { workerId: �[32m'w1'�[39m }
13:04:45.467 detox[17747] i ipc received event of :  registerWorker { workerId: �[32m'w1'�[39m }
13:04:45.467 detox[17747] i ipc dispatching event to socket  :  registerWorkerDone { workersCount: �[33m1�[39m }
13:04:45.468 detox[17748] i ipc ## received events ##
13:04:45.468 detox[17747] i ipc broadcasting event to all known sockets listening to  /tmp/detox.primary-17747  :   sessionStateUpdate { workersCount: �[33m1�[39m }
13:04:45.468 detox[17748] i ipc detected event registerWorkerDone { workersCount: �[33m1�[39m }
13:04:45.601 detox[17748] i ipc ## received events ##
13:04:45.602 detox[17748] i ipc detected event sessionStateUpdate { workersCount: �[33m1�[39m }
13:04:45.607 detox[17747] B ws-server@51709 connection :51708<->:51709
13:04:45.608 detox[17748] i ws-client opened web socket to: ws://localhost:51708
13:04:45.624 detox[17748] i ws-client send message
  data: {"type":"login","params":{"sessionId":"101d7fc7-c054-dd07-fba5-5061a4aa139f","role":"tester"},"messageId":0}
13:04:45.627 detox[17747] i ws-server@51709 get
  data: {"type":"login","params":{"sessionId":"101d7fc7-c054-dd07-fba5-5061a4aa139f","role":"tester"},"messageId":0}
13:04:45.628 detox[17747] i ws-server created session 101d7fc7-c054-dd07-fba5-5061a4aa139f
13:04:45.628 detox[17747] i ws-server@51709 send
  data: {
    "type": "loginSuccess",
    "params": {
      "testerConnected": true,
      "appConnected": false
    },
    "messageId": 0
  }
13:04:45.630 detox[17747] i ws-server tester joined session 101d7fc7-c054-dd07-fba5-5061a4aa139f
13:04:45.631 detox[17748] i ws-client get message
  data: {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0}
   
13:04:45.731 detox[17748] i ipc dispatching event to  primary-17747 /tmp/detox.primary-17747  :  allocateDevice , {
  deviceConfig: { type: �[32m'ios.simulator'�[39m, device: { type: �[32m'iPhone 15'�[39m } }
}
13:04:45.732 detox[17747] i ipc received event of :  allocateDevice {
  deviceConfig: { type: �[32m'ios.simulator'�[39m, device: { type: �[32m'iPhone 15'�[39m } }
}
13:04:45.737 detox[17747] B device init
  args: ()
13:04:45.740 detox[17747] E device init
13:04:45.741 detox[17747] B device@0 allocate
  data: {
    "type": "ios.simulator",
    "device": {
      "type": "iPhone 15"
    }
  }
13:04:45.742 detox[17747] i child-process:EXEC_CMD applesimutils --list --byType "iPhone 15"
13:04:45.932 detox[17747] i child-process:EXEC_SUCCESS [
  {
    "isAvailable" : true,
    "logPath" : "\/Users\/user\/Library\/Logs\/CoreSimulator\/BD3A83E7-74C4-4030-9F3E-FD16E93D59A5",
    "logPathSize" : 442368,
    "state" : "Booted",
    "name" : "iPhone 15",
    "dataPathSize" : 1557151744,
    "deviceType" : {
      "maxRuntimeVersion" : 4294967295,
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15.simdevicetype",
      "maxRuntimeVersionString" : "65535.255.255",
      "name" : "iPhone 15",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
      "productFamily" : "iPhone",
      "modelIdentifier" : "iPhone15,4",
      "minRuntimeVersionString" : "17.0.0",
      "minRuntimeVersion" : 1114112
    },
    "os" : {
      "bundlePath" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21F79\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.5.simruntime",
      "buildversion" : "21F79",
      "platform" : "iOS",
      "runtimeRoot" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21F79\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.5.simruntime\/Contents\/Resources\/RuntimeRoot",
      "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-17-5",
      "version" : "17.5",
      "isInternal" : false,
      "isAvailable" : true,
      "name" : "iOS 17.5",
      "supportedDeviceTypes" : [
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs.simdevicetype",
          "name" : "iPhone Xs",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs Max.simdevicetype",
          "name" : "iPhone Xs Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xʀ.simdevicetype",
          "name" : "iPhone Xʀ",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XR",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 11.simdevicetype",
          "name" : "iPhone 11",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 11 Pro.simdevicetype",
          "name" : "iPhone 11 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 11 Pro Max.simdevicetype",
          "name" : "iPhone 11 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone SE (2nd generation).simdevicetype",
          "name" : "iPhone SE (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12 mini.simdevicetype",
          "name" : "iPhone 12 mini",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12.simdevicetype",
          "name" : "iPhone 12",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12 Pro.simdevicetype",
          "name" : "iPhone 12 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12 Pro Max.simdevicetype",
          "name" : "iPhone 12 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13 Pro.simdevicetype",
          "name" : "iPhone 13 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13 Pro Max.simdevicetype",
          "name" : "iPhone 13 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13 mini.simdevicetype",
          "name" : "iPhone 13 mini",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13.simdevicetype",
          "name" : "iPhone 13",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone SE (3rd generation).simdevicetype",
          "name" : "iPhone SE (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14.simdevicetype",
          "name" : "iPhone 14",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14 Plus.simdevicetype",
          "name" : "iPhone 14 Plus",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Plus",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14 Pro.simdevicetype",
          "name" : "iPhone 14 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14 Pro Max.simdevicetype",
          "name" : "iPhone 14 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15.simdevicetype",
          "name" : "iPhone 15",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15 Plus.simdevicetype",
          "name" : "iPhone 15 Plus",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Plus",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15 Pro.simdevicetype",
          "name" : "iPhone 15 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15 Pro Max.simdevicetype",
          "name" : "iPhone 15 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (2nd generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (10.5-inch).simdevicetype",
          "name" : "iPad Pro (10.5-inch)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (6th generation).simdevicetype",
          "name" : "iPad (6th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (7th generation).simdevicetype",
          "name" : "iPad (7th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (1st generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (1st generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (3rd generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (2nd generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (4th generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (4th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad mini (5th generation).simdevicetype",
          "name" : "iPad mini (5th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (3rd generation).simdevicetype",
          "name" : "iPad Air (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (8th generation).simdevicetype",
          "name" : "iPad (8th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (9th generation).simdevicetype",
          "name" : "iPad (9th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (4th generation).simdevicetype",
          "name" : "iPad Air (4th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (3rd generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (5th generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (5th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (5th generation).simdevicetype",
          "name" : "iPad Air (5th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (10th generation).simdevicetype",
          "name" : "iPad (10th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-10th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad mini (6th generation).simdevicetype",
          "name" : "iPad mini (6th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (4th generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (4th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-4th-generation-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (4th generation) (16GB).simdevicetype",
          "name" : "iPad Pro (11-inch) (4th generation) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-4th-generation-16GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (6th generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (6th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (6th generation) (16GB).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (6th generation) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-16GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air 11-inch (M2).simdevicetype",
          "name" : "iPad Air 11-inch (M2)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-11-inch-M2",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air 13-inch (M2).simdevicetype",
          "name" : "iPad Air 13-inch (M2)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-13-inch-M2",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 11-inch (M4).simdevicetype",
          "name" : "iPad Pro 11-inch (M4)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-M4-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 11-inch (M4) (16GB).simdevicetype",
          "name" : "iPad Pro 11-inch (M4) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-M4-16GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 13-inch (M4).simdevicetype",
          "name" : "iPad Pro 13-inch (M4)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-13-inch-M4-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 13-inch (M4) (16GB).simdevicetype",
          "name" : "iPad Pro 13-inch (M4) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-13-inch-M4-16GB",
          "productFamily" : "iPad"
        }
      ]
    },
    "dataPath" : "\/Users\/user\/Library\/Developer\/CoreSimulator\/Devices\/BD3A83E7-74C4-4030-9F3E-FD16E93D59A5\/data",
    "lastBootedAt" : "2024-08-21T11:00:00Z",
    "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
    "udid" : "BD3A83E7-74C4-4030-9F3E-FD16E93D59A5"
  }
]

13:04:45.933 detox[17747] i device settled on BD3A83E7-74C4-4030-9F3E-FD16E93D59A5
  data: {
    "id": "BD3A83E7-74C4-4030-9F3E-FD16E93D59A5",
    "udid": "BD3A83E7-74C4-4030-9F3E-FD16E93D59A5"
  }
13:04:45.934 detox[17747] E device@0 allocate
13:04:45.934 detox[17747] B device@0 post-allocate: BD3A83E7-74C4-4030-9F3E-FD16E93D59A5
  data: {
    "id": "BD3A83E7-74C4-4030-9F3E-FD16E93D59A5",
    "udid": "BD3A83E7-74C4-4030-9F3E-FD16E93D59A5"
  }
13:04:45.934 detox[17747] i child-process:EXEC_CMD applesimutils --list --byId BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 --maxResults 1
13:04:46.127 detox[17747] i child-process:EXEC_SUCCESS [
  {
    "isAvailable" : true,
    "logPath" : "\/Users\/user\/Library\/Logs\/CoreSimulator\/BD3A83E7-74C4-4030-9F3E-FD16E93D59A5",
    "logPathSize" : 442368,
    "state" : "Booted",
    "name" : "iPhone 15",
    "dataPathSize" : 1557151744,
    "deviceType" : {
      "maxRuntimeVersion" : 4294967295,
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15.simdevicetype",
      "maxRuntimeVersionString" : "65535.255.255",
      "name" : "iPhone 15",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
      "productFamily" : "iPhone",
      "modelIdentifier" : "iPhone15,4",
      "minRuntimeVersionString" : "17.0.0",
      "minRuntimeVersion" : 1114112
    },
    "os" : {
      "bundlePath" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21F79\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.5.simruntime",
      "buildversion" : "21F79",
      "platform" : "iOS",
      "runtimeRoot" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21F79\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.5.simruntime\/Contents\/Resources\/RuntimeRoot",
      "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-17-5",
      "version" : "17.5",
      "isInternal" : false,
      "isAvailable" : true,
      "name" : "iOS 17.5",
      "supportedDeviceTypes" : [
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs.simdevicetype",
          "name" : "iPhone Xs",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs Max.simdevicetype",
          "name" : "iPhone Xs Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xʀ.simdevicetype",
          "name" : "iPhone Xʀ",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XR",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 11.simdevicetype",
          "name" : "iPhone 11",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 11 Pro.simdevicetype",
          "name" : "iPhone 11 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 11 Pro Max.simdevicetype",
          "name" : "iPhone 11 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone SE (2nd generation).simdevicetype",
          "name" : "iPhone SE (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12 mini.simdevicetype",
          "name" : "iPhone 12 mini",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12.simdevicetype",
          "name" : "iPhone 12",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12 Pro.simdevicetype",
          "name" : "iPhone 12 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12 Pro Max.simdevicetype",
          "name" : "iPhone 12 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13 Pro.simdevicetype",
          "name" : "iPhone 13 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13 Pro Max.simdevicetype",
          "name" : "iPhone 13 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13 mini.simdevicetype",
          "name" : "iPhone 13 mini",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 13.simdevicetype",
          "name" : "iPhone 13",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone SE (3rd generation).simdevicetype",
          "name" : "iPhone SE (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14.simdevicetype",
          "name" : "iPhone 14",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14 Plus.simdevicetype",
          "name" : "iPhone 14 Plus",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Plus",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14 Pro.simdevicetype",
          "name" : "iPhone 14 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 14 Pro Max.simdevicetype",
          "name" : "iPhone 14 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15.simdevicetype",
          "name" : "iPhone 15",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15 Plus.simdevicetype",
          "name" : "iPhone 15 Plus",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Plus",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15 Pro.simdevicetype",
          "name" : "iPhone 15 Pro",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 15 Pro Max.simdevicetype",
          "name" : "iPhone 15 Pro Max",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro-Max",
          "productFamily" : "iPhone"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (2nd generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (10.5-inch).simdevicetype",
          "name" : "iPad Pro (10.5-inch)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (6th generation).simdevicetype",
          "name" : "iPad (6th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (7th generation).simdevicetype",
          "name" : "iPad (7th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (1st generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (1st generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (3rd generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (2nd generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (4th generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (4th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad mini (5th generation).simdevicetype",
          "name" : "iPad mini (5th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (3rd generation).simdevicetype",
          "name" : "iPad Air (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (8th generation).simdevicetype",
          "name" : "iPad (8th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (9th generation).simdevicetype",
          "name" : "iPad (9th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (4th generation).simdevicetype",
          "name" : "iPad Air (4th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (3rd generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (3rd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (5th generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (5th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (5th generation).simdevicetype",
          "name" : "iPad Air (5th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (10th generation).simdevicetype",
          "name" : "iPad (10th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-10th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad mini (6th generation).simdevicetype",
          "name" : "iPad mini (6th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (4th generation).simdevicetype",
          "name" : "iPad Pro (11-inch) (4th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-4th-generation-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (4th generation) (16GB).simdevicetype",
          "name" : "iPad Pro (11-inch) (4th generation) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-4th-generation-16GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (6th generation).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (6th generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (6th generation) (16GB).simdevicetype",
          "name" : "iPad Pro (12.9-inch) (6th generation) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-16GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air 11-inch (M2).simdevicetype",
          "name" : "iPad Air 11-inch (M2)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-11-inch-M2",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air 13-inch (M2).simdevicetype",
          "name" : "iPad Air 13-inch (M2)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-13-inch-M2",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 11-inch (M4).simdevicetype",
          "name" : "iPad Pro 11-inch (M4)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-M4-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 11-inch (M4) (16GB).simdevicetype",
          "name" : "iPad Pro 11-inch (M4) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-M4-16GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 13-inch (M4).simdevicetype",
          "name" : "iPad Pro 13-inch (M4)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-13-inch-M4-8GB",
          "productFamily" : "iPad"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro 13-inch (M4) (16GB).simdevicetype",
          "name" : "iPad Pro 13-inch (M4) (16GB)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-13-inch-M4-16GB",
          "productFamily" : "iPad"
        }
      ]
    },
    "dataPath" : "\/Users\/user\/Library\/Developer\/CoreSimulator\/Devices\/BD3A83E7-74C4-4030-9F3E-FD16E93D59A5\/data",
    "lastBootedAt" : "2024-08-21T11:00:00Z",
    "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
    "udid" : "BD3A83E7-74C4-4030-9F3E-FD16E93D59A5"
  }
]

13:04:46.128 detox[17747] E device@0 post-allocate: BD3A83E7-74C4-4030-9F3E-FD16E93D59A5
13:04:46.128 detox[17747] i ipc dispatching event to socket  :  allocateDeviceDone {
  deviceCookie: {
    id: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    udid: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    type: �[32m'ios.simulator'�[39m,
    bootArgs: �[90mundefined�[39m,
    headless: �[90mundefined�[39m
  }
}
13:04:46.128 detox[17748] i ipc ## received events ##
13:04:46.129 detox[17748] i ipc detected event allocateDeviceDone {
  deviceCookie: {
    id: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    udid: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    type: �[32m'ios.simulator'�[39m
  }
}
13:04:46.139 detox[17748] B artifacts-manager onBootDevice
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5"})
13:04:46.140 detox[17748] E artifacts-manager onBootDevice
13:04:46.141 detox[17748] B device installUtilBinaries
  args: ()
13:04:46.141 detox[17748] E device installUtilBinaries
13:04:46.142 detox[17748] B device selectApp
  args: ("default")
13:04:46.153 detox[17748] E device selectApp
13:04:46.153 detox[17748] B device uninstallApp
  args: ()
13:04:46.153 detox[17748] B artifacts-manager onBeforeUninstallApp
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]"})
13:04:46.154 detox[17748] E artifacts-manager onBeforeUninstallApp
13:04:46.154 detox[17748] i child-process:EXEC_CMD /usr/bin/xcrun simctl uninstall BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
13:04:46.155 detox[17748] i child-process:EXEC_TRY Uninstalling [REDACTED]...
13:04:46.438 detox[17748] i child-process:EXEC_SUCCESS [REDACTED] uninstalled
13:04:46.438 detox[17748] E device uninstallApp
13:04:46.439 detox[17748] B device selectApp
  args: ("default")
13:04:46.442 detox[17748] B device terminateApp
  args: ()
13:04:46.442 detox[17748] B artifacts-manager onBeforeTerminateApp
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]"})
13:04:46.443 detox[17748] E artifacts-manager onBeforeTerminateApp
13:04:46.443 detox[17748] i child-process:EXEC_CMD /usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
13:04:46.444 detox[17748] i child-process:EXEC_TRY Terminating [REDACTED]...
13:04:47.770 detox[17748] i child-process:EXEC_TRY_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate

13:04:47.771 detox[17748] i child-process:EXEC_TRY Terminating [REDACTED]...
13:04:47.992 detox[17748] i child-process:EXEC_FAIL "/usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]" failed with error = ChildProcessError: Command failed: /usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate
 `/usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]` (exited with error code 3) (code=3), stdout and stderr:

13:04:47.993 detox[17748] i child-process:EXEC_FAIL 
13:04:47.993 detox[17748] i child-process:EXEC_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate

13:04:47.993 detox[17748] B artifacts-manager onTerminateApp
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]"})
13:04:47.993 detox[17748] E artifacts-manager onTerminateApp
13:04:47.993 detox[17748] E device terminateApp
13:04:47.994 detox[17748] E device selectApp
13:04:47.994 detox[17748] B device installApp
  args: ()
13:04:47.994 detox[17748] i child-process:EXEC_CMD /usr/bin/xcrun simctl install BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 "/Users/user/src/[REDACTED]/ios/build/Build/Products/Debug-iphonesimulator/[REDACTED].app"
13:04:47.994 detox[17748] i child-process:EXEC_TRY Installing /Users/user/src/[REDACTED]/ios/build/Build/Products/Debug-iphonesimulator/[REDACTED].app...
13:04:48.601 detox[17748] i child-process:EXEC_SUCCESS /Users/user/src/[REDACTED]/ios/build/Build/Products/Debug-iphonesimulator/[REDACTED].app installed
13:04:48.602 detox[17748] E device installApp
13:04:48.602 detox[17748] B device selectApp
  args: ("default")
13:04:48.603 detox[17748] B device terminateApp
  args: ()
13:04:48.604 detox[17748] B artifacts-manager onBeforeTerminateApp
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]"})
13:04:48.604 detox[17748] E artifacts-manager onBeforeTerminateApp
13:04:48.604 detox[17748] i child-process:EXEC_CMD /usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
13:04:48.605 detox[17748] i child-process:EXEC_TRY Terminating [REDACTED]...
13:04:49.846 detox[17748] i child-process:EXEC_TRY_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate

13:04:49.847 detox[17748] i child-process:EXEC_TRY Terminating [REDACTED]...
13:04:50.022 detox[17748] i child-process:EXEC_FAIL "/usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]" failed with error = ChildProcessError: Command failed: /usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate
 `/usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]` (exited with error code 3) (code=3), stdout and stderr:

13:04:50.022 detox[17748] i child-process:EXEC_FAIL 
13:04:50.023 detox[17748] i child-process:EXEC_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate

13:04:50.023 detox[17748] B artifacts-manager onTerminateApp
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]"})
13:04:50.023 detox[17748] E artifacts-manager onTerminateApp
13:04:50.023 detox[17748] E device terminateApp
13:04:50.023 detox[17748] E device selectApp
13:04:50.024 detox[17748] E lifecycle set up environment
13:04:51.802 detox[17748] i lifecycle Favorites.test.ts is assigned to BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 (iPhone 15)
13:04:51.803 detox[17748] B lifecycle run the tests
13:04:51.803 detox[17748] B artifacts-manager onRunDescribeStart
  args: ({"name":"ROOT_DESCRIBE_BLOCK"})
13:04:51.804 detox[17748] E artifacts-manager onRunDescribeStart
13:04:51.805 detox[17748] B lifecycle Favourites
13:04:51.805 detox[17748] B artifacts-manager onRunDescribeStart
  args: ({"name":"Favourites"})
13:04:51.805 detox[17748] E artifacts-manager onRunDescribeStart
13:04:51.806 detox[17748] B lifecycle beforeAll
13:04:51.815 detox[17748] B device launchApp
  args: ({"permissions":{"camera":"YES"},"languageAndLocale":{"language":"en","locale":"en"}})
13:04:51.815 detox[17748] B device terminateApp
  args: ("[REDACTED]")
13:04:51.816 detox[17748] B artifacts-manager onBeforeTerminateApp
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]"})
13:04:51.816 detox[17748] E artifacts-manager onBeforeTerminateApp
13:04:51.816 detox[17748] i child-process:EXEC_CMD /usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
13:04:51.816 detox[17748] i child-process:EXEC_TRY Terminating [REDACTED]...
13:04:52.979 detox[17748] i child-process:EXEC_TRY_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate

13:04:52.980 detox[17748] i child-process:EXEC_TRY Terminating [REDACTED]...
13:04:53.146 detox[17748] i child-process:EXEC_FAIL "/usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]" failed with error = ChildProcessError: Command failed: /usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate
 `/usr/bin/xcrun simctl terminate BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]` (exited with error code 3) (code=3), stdout and stderr:

13:04:53.146 detox[17748] i child-process:EXEC_FAIL 
13:04:53.146 detox[17748] i child-process:EXEC_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate [REDACTED].
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The request to terminate "[REDACTED]" failed. found nothing to terminate
	found nothing to terminate

13:04:53.147 detox[17748] B artifacts-manager onTerminateApp
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]"})
13:04:53.147 detox[17748] E artifacts-manager onTerminateApp
13:04:53.147 detox[17748] E device terminateApp
13:04:53.148 detox[17748] i child-process:EXEC_CMD /usr/bin/xcrun simctl privacy BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 grant camera [REDACTED]
13:04:53.148 detox[17748] i child-process:EXEC_TRY Trying to set permissions with Simctl: grant camera...
13:04:53.314 detox[17748] i child-process:EXEC_SUCCESS camera permissions are set
13:04:53.314 detox[17748] B artifacts-manager onBeforeLaunchApp
  args: ({"bundleId":"[REDACTED]","deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","launchArgs":{"detoxServer":"ws://localhost:51708","detoxSessionId":"101d7fc7-c054-dd07-fba5-5061a4aa139f"}})
13:04:53.315 detox[17748] E artifacts-manager onBeforeLaunchApp
13:04:53.316 detox[17748] i child-process:EXEC_CMD SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=YES SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/user/Library/Detox/ios/framework/474f332b58c15d6da50b3272d8b33244c85d10d7/Detox.framework/Detox" /usr/bin/xcrun simctl launch BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED] --args -detoxServer ws://localhost:51708 -detoxSessionId 101d7fc7-c054-dd07-fba5-5061a4aa139f -detoxDisableHierarchyDump YES -AppleLanguages '(en)' -AppleLocale en
13:04:53.316 detox[17748] i child-process:EXEC_TRY Launching [REDACTED]...
13:04:53.524 detox[17748] i child-process:EXEC_SUCCESS [REDACTED]: 17822

13:04:53.525 detox[17748] i child-process:EXEC_CMD /usr/bin/xcrun simctl get_app_container BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 [REDACTED]
13:04:53.817 detox[17748] i child-process:EXEC_SUCCESS /Users/user/Library/Developer/CoreSimulator/Devices/BD3A83E7-74C4-4030-9F3E-FD16E93D59A5/data/Containers/Bundle/Application/F4BD8FB2-1579-4F1D-8B4F-581944E303A8/[REDACTED].app

13:04:53.834 detox[17748] i device [REDACTED] launched. To watch simulator logs, run:
        /usr/bin/xcrun simctl spawn BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 log stream --level debug --style compact --predicate 'process == "[REDACTED]"'
13:04:53.834 detox[17748] B artifacts-manager onLaunchApp
  args: ({"bundleId":"[REDACTED]","deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","launchArgs":{"detoxServer":"ws://localhost:51708","detoxSessionId":"101d7fc7-c054-dd07-fba5-5061a4aa139f","detoxDisableHierarchyDump":"YES"},"pid":17822})
13:04:53.835 detox[17748] E artifacts-manager onLaunchApp
13:04:54.194 detox[17747] B ws-server@51710 connection :51708<->:51710
13:04:54.787 detox[17747] i ws-server@51710 get
  data: {"messageId":0,"params":{"role":"app","sessionId":"101d7fc7-c054-dd07-fba5-5061a4aa139f"},"type":"login"}
13:04:54.788 detox[17747] i ws-server@51710 send
  data: {
    "messageId": 0,
    "params": {
      "testerConnected": true,
      "appConnected": true
    },
    "type": "loginSuccess"
  }
13:04:54.788 detox[17747] i ws-server app joined session 101d7fc7-c054-dd07-fba5-5061a4aa139f
13:04:54.789 detox[17747] i ws-server@51709 send
  data: {
    "type": "appConnected"
  }
13:04:54.789 detox[17748] i ws-client get message
  data: {"type":"appConnected"}
   
13:04:54.791 detox[17748] i ws-client send message
  data: {"type":"isReady","params":{},"messageId":-1000}
13:04:54.792 detox[17747] i ws-server@51709 get
  data: {"type":"isReady","params":{},"messageId":-1000}
13:04:54.792 detox[17747] i ws-server@51710 send
  data: {
    "type": "isReady",
    "params": {},
    "messageId": -1000
  }
13:04:57.844 detox[17747] i ws-server@51710 get
  data: {"type":"ready","params":{},"messageId":-1000}
13:04:57.845 detox[17747] i ws-server@51709 send
  data: {
    "type": "ready",
    "params": {},
    "messageId": -1000
  }
13:04:57.845 detox[17748] i ws-client get message
  data: {"type":"ready","params":{},"messageId":-1000}
   
13:04:57.845 detox[17747] i ws-server@51710 get
  data: {"type":"ready","params":{},"messageId":-1000}
13:04:57.846 detox[17747] i ws-server@51709 send
  data: {
    "type": "ready",
    "params": {},
    "messageId": -1000
  }
13:04:57.846 detox[17747] i ws-server@51710 get
  data: {"type":"ready","params":{},"messageId":-1000}
13:04:57.846 detox[17748] i ws-client send message
  data: {"type":"waitForActive","params":{},"messageId":1}
13:04:57.846 detox[17747] i ws-server@51709 send
  data: {
    "type": "ready",
    "params": {},
    "messageId": -1000
  }
13:04:57.847 detox[17747] i ws-server@51709 get
  data: {"type":"waitForActive","params":{},"messageId":1}
13:04:57.847 detox[17748] i ws-client get message
  data: {"type":"ready","params":{},"messageId":-1000}
   
13:04:57.847 detox[17747] i ws-server@51710 send
  data: {
    "type": "waitForActive",
    "params": {},
    "messageId": 1
  }
13:04:57.847 detox[17748] i ws-client get message
  data: {"type":"ready","params":{},"messageId":-1000}
   
13:04:57.848 detox[17747] i ws-server@51710 get
  data: {"messageId":1,"type":"waitForActiveDone","params":{}}
13:04:57.849 detox[17747] i ws-server@51709 send
  data: {
    "messageId": 1,
    "type": "waitForActiveDone",
    "params": {}
  }
13:04:57.849 detox[17748] i ws-client get message
  data: {"messageId":1,"type":"waitForActiveDone","params":{}}
   
13:04:57.850 detox[17748] B artifacts-manager onAppReady
  args: ({"deviceId":"BD3A83E7-74C4-4030-9F3E-FD16E93D59A5","bundleId":"[REDACTED]","pid":17822})
13:04:57.850 detox[17748] E artifacts-manager onAppReady
13:04:57.850 detox[17748] E device launchApp
13:04:57.850 detox[17748] E lifecycle beforeAll
13:04:57.851 detox[17748] B lifecycle Aggiunge e toglie preferiti
13:04:57.851 detox[17748] i lifecycle Favourites: Aggiunge e toglie preferiti
13:04:57.852 detox[17748] B artifacts-manager onTestStart
  args: ({"title":"Aggiunge e toglie preferiti","fullName":"Favourites Aggiunge e toglie preferiti","status":"running","invocations":1})
13:04:57.853 detox[17748] E artifacts-manager onTestStart
13:04:57.853 detox[17748] B lifecycle beforeEach
13:04:57.854 detox[17748] E lifecycle beforeEach
13:04:57.854 detox[17748] B lifecycle beforeEach
13:04:57.855 detox[17748] i ws-client send message
  data: {"type":"invoke","params":{"type":"expectation","predicate":{"type":"text","value":"QR code","isRegex":false},"expectation":"toBeVisible","timeout":30000},"messageId":2}
13:04:57.856 detox[17747] i ws-server@51709 get
  data: {"type":"invoke","params":{"type":"expectation","predicate":{"type":"text","value":"QR code","isRegex":false},"expectation":"toBeVisible","timeout":30000},"messageId":2}
13:04:57.856 detox[17747] i ws-server@51710 send
  data: {
    "type": "invoke",
    "params": {
      "type": "expectation",
      "predicate": {
        "type": "text",
        "value": "QR code",
        "isRegex": false
      },
      "expectation": "toBeVisible",
      "timeout": 30000
    },
    "messageId": 2
  }
13:04:57.856 detox[17748] B ws-client wait until timeout (30000 ms) with timeout (30000 ms)
  data: {
    "type": "expectation",
    "predicate": {
      "type": "text",
      "value": "QR code",
      "isRegex": false
    },
    "expectation": "toBeVisible",
    "timeout": 30000
  }
  stack: Object.<anonymous> (/e2e/Favorites/Favorites.test.ts:44:8)
  Promise.then.completed (/node_modules/jest-circus/build/utils.js:298:28)
  new Promise (<anonymous>)
  callAsyncCircusFn (/node_modules/jest-circus/build/utils.js:231:10)
  _callCircusHook (/node_modules/jest-circus/build/run.js:281:40)
  processTicksAndRejections (node:internal/process/task_queues:95:5)
  _runTest (/node_modules/jest-circus/build/run.js:246:5)
  _runTestsForDescribeBlock (/node_modules/jest-circus/build/run.js:126:9)
  _runTestsForDescribeBlock (/node_modules/jest-circus/build/run.js:121:9)
  run (/node_modules/jest-circus/build/run.js:71:3)
  runAndTransformResultsToJestFormat (/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
  jestAdapter (/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
  runTestInternal (/node_modules/jest-runner/build/runTest.js:367:16)
  runTest (/node_modules/jest-runner/build/runTest.js:444:34)
13:05:00.760 detox[17747] i ws-server@51710 get
  data: {"type":"invokeResult","params":{},"messageId":2}
13:05:00.761 detox[17747] i ws-server@51709 send
  data: {
    "type": "invokeResult",
    "params": {},
    "messageId": 2
  }
13:05:00.762 detox[17748] i ws-client get message
  data: {"type":"invokeResult","params":{},"messageId":2}
   
13:05:00.763 detox[17748] E ws-client wait until timeout (30000 ms) with timeout (30000 ms)
13:05:00.764 detox[17748] E lifecycle beforeEach
13:05:00.765 detox[17748] B lifecycle test_fn
13:05:00.772 detox[17748] i ws-client send message
  data: {"type":"invoke","params":{"type":"expectation","predicate":{"type":"id","value":"raw-data-input","isRegex":false},"expectation":"toBeVisible","timeout":30000},"messageId":3}
13:05:00.773 detox[17747] i ws-server@51709 get
  data: {"type":"invoke","params":{"type":"expectation","predicate":{"type":"id","value":"raw-data-input","isRegex":false},"expectation":"toBeVisible","timeout":30000},"messageId":3}
13:05:00.774 detox[17748] B ws-client wait until timeout (30000 ms) with timeout (30000 ms)
  data: {
    "type": "expectation",
    "predicate": {
      "type": "id",
      "value": "raw-data-input",
      "isRegex": false
    },
    "expectation": "toBeVisible",
    "timeout": 30000
  }
  stack: loadData (/e2e/Favorites/data.ts:110:6)
  Object.<anonymous> (/e2e/Favorites/Favorites.test.ts:48:19)
  Promise.then.completed (/node_modules/jest-circus/build/utils.js:298:28)
  new Promise (<anonymous>)
  callAsyncCircusFn (/node_modules/jest-circus/build/utils.js:231:10)
  _callCircusTest (/node_modules/jest-circus/build/run.js:316:40)
  processTicksAndRejections (node:internal/process/task_queues:95:5)
  _runTest (/node_modules/jest-circus/build/run.js:252:3)
  _runTestsForDescribeBlock (/node_modules/jest-circus/build/run.js:126:9)
  _runTestsForDescribeBlock (/node_modules/jest-circus/build/run.js:121:9)
  run (/node_modules/jest-circus/build/run.js:71:3)
  runAndTransformResultsToJestFormat (/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
  jestAdapter (/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
  runTestInternal (/node_modules/jest-runner/build/runTest.js:367:16)
  runTest (/node_modules/jest-runner/build/runTest.js:444:34)
13:05:00.774 detox[17747] i ws-server@51710 send
  data: {
    "type": "invoke",
    "params": {
      "type": "expectation",
      "predicate": {
        "type": "id",
        "value": "raw-data-input",
        "isRegex": false
      },
      "expectation": "toBeVisible",
      "timeout": 30000
    },
    "messageId": 3
  }
13:05:00.832 detox[17747] i ws-server@51710 get
  data: {"messageId":3,"type":"invokeResult","params":{}}
13:05:00.832 detox[17747] i ws-server@51709 send
  data: {
    "messageId": 3,
    "type": "invokeResult",
    "params": {}
  }
13:05:00.833 detox[17748] i ws-client get message
  data: {"messageId":3,"type":"invokeResult","params":{}}
   
13:05:00.833 detox[17748] E ws-client wait until timeout (30000 ms) with timeout (30000 ms)
13:05:00.834 detox[17748] i user rawData length 16268
  origin: at e2e/Favorites/data.ts:109:13
13:05:00.834 detox[17748] B device disableSynchronization
  args: ()
13:05:00.835 detox[17748] i ws-client send message
  data: {"type":"setSyncSettings","params":{"enabled":false},"messageId":4}
13:05:00.835 detox[17747] i ws-server@51709 get
  data: {"type":"setSyncSettings","params":{"enabled":false},"messageId":4}
13:05:00.836 detox[17747] i ws-server@51710 send
  data: {
    "type": "setSyncSettings",
    "params": {
      "enabled": false
    },
    "messageId": 4
  }
13:05:00.837 detox[17747] i ws-server@51710 get
  data: {"type":"setSyncSettingsDone","params":{},"messageId":4}
13:05:00.837 detox[17747] i ws-server@51709 send
  data: {
    "type": "setSyncSettingsDone",
    "params": {},
    "messageId": 4
  }
13:05:00.838 detox[17748] i ws-client get message
  data: {"type":"setSyncSettingsDone","params":{},"messageId":4}
   
13:05:00.838 detox[17748] E device disableSynchronization
13:05:00.839 detox[17748] i ws-client send message
  data: {"type":"invoke","params":{"type":"action","action":"replaceText","params":["Redacted"],"predicate":{"type":"id","value":"raw-data-input","isRegex":false}},"messageId":5}
13:05:00.841 detox[17748] B ws-client replace input text: "Redacted - VERY LONG STRING"
  data: {
    "type": "action",
    "action": "replaceText",
    "params": [
      "Redacted"
    ],
    "predicate": {
      "type": "id",
      "value": "raw-data-input",
      "isRegex": false
    }
  }
  stack: loadData (/e2e/Favorites/data.ts:116:44)
  processTicksAndRejections (node:internal/process/task_queues:95:5)
  Object.<anonymous> (/e2e/Favorites/Favorites.test.ts:48:5)
13:05:00.843 detox[17747] i ws-server@51709 get
  data: {"type":"invoke","params":{"type":"action","action":"replaceText","params":["Redacted"],"predicate":{"type":"id","value":"raw-data-input","isRegex":false}},"messageId":5}
13:05:00.844 detox[17747] i ws-server@51710 send
  data: {
    "type": "invoke",
    "params": {
      "type": "action",
      "action": "replaceText",
      "params": [
        "Redacted"
      ],
      "predicate": {
        "type": "id",
        "value": "raw-data-input",
        "isRegex": false
      }
    },
    "messageId": 5
  }
13:05:10.839 detox[17748] i ws-client send message
  data: {"type":"currentStatus","params":{},"messageId":6}
13:05:10.841 detox[17747] i ws-server@51709 get
  data: {"type":"currentStatus","params":{},"messageId":6}
13:05:10.841 detox[17747] i ws-server@51710 send
  data: {
    "type": "currentStatus",
    "params": {},
    "messageId": 6
  }
13:05:15.840 detox[17748] i ws-client:APP_STATUS Failed to execute the current status query.
13:07:00.768 detox[17748] B artifacts-manager onTestFnFailure
  args: ({"error":"Exceeded timeout of 120000 ms for a test.\nAdd a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."})
13:07:00.770 detox[17748] E artifacts-manager onTestFnFailure
13:07:00.771 detox[17748] E lifecycle test_fn
  error: 'Exceeded timeout of 120000 ms for a test.\n' +
    'Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.'
13:07:00.775 detox[17748] B artifacts-manager onTestDone
  args: ({"title":"Aggiunge e toglie preferiti","fullName":"Favourites Aggiunge e toglie preferiti","status":"failed","invocations":1,"timedOut":true})
13:07:00.776 detox[17748] E artifacts-manager onTestDone
13:07:00.776 detox[17748] i ws-client:PENDING_REQUESTS The app has not responded to the network requests below:
  (id = 5) invoke: {"type":"action","action":"replaceText","params":["Redacted"],"predicate":{"type":"id","value":"raw-data-input","isRegex":false}}
  (id = 6) currentStatus: {}

That might be the reason why the test "Favourites Aggiunge e toglie preferiti" has timed out.

13:07:00.777 detox[17748] E lifecycle Aggiunge e toglie preferiti
13:07:00.778 detox[17748] i lifecycle Favourites: Aggiunge e toglie preferiti [FAIL]
13:07:00.824 detox[17748] B artifacts-manager onRunDescribeFinish
  args: ({"name":"Favourites"})
13:07:00.824 detox[17748] E artifacts-manager onRunDescribeFinish
13:07:00.824 detox[17748] E lifecycle Favourites
13:07:00.825 detox[17748] B artifacts-manager onRunDescribeFinish
  args: ({"name":"ROOT_DESCRIBE_BLOCK"})
13:07:00.826 detox[17748] E artifacts-manager onRunDescribeFinish
13:07:00.826 detox[17748] E lifecycle run the tests
13:07:00.844 detox[17748] B lifecycle tear down environment
13:07:00.846 detox[17748] B artifacts-manager onBeforeCleanup
  args: ()
13:07:00.848 detox[17748] E artifacts-manager onBeforeCleanup
13:07:00.850 detox[17748] i ws-client send message
  data: {"type":"cleanup","params":{"stopRunner":true},"messageId":-49642}
13:07:00.852 detox[17747] i ws-server@51709 get
  data: {"type":"cleanup","params":{"stopRunner":true},"messageId":-49642}
13:07:00.855 detox[17747] i ws-server@51710 send
  data: {
    "type": "cleanup",
    "params": {
      "stopRunner": true
    },
    "messageId": -49642
  }
13:07:05.851 detox[17748] i ws-client:ERROR The pending request #-49642 ("cleanup") has been rejected due to the following error:

The tester has not received a response within 5000ms timeout to the message:

Cleanup {
  type: 'cleanup',
  params: [Object],
  messageId: -49642
}
13:07:05.855 detox[17748] i ipc dispatching event to  primary-17747 /tmp/detox.primary-17747  :  deallocateDevice , {
  deviceCookie: {
    id: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    udid: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    type: �[32m'ios.simulator'�[39m
  }
}
13:07:05.856 detox[17747] i ws-server tester exited session 101d7fc7-c054-dd07-fba5-5061a4aa139f
13:07:05.856 detox[17747] i ws-server@51710 send
  data: {
    "type": "testerDisconnected",
    "messageId": -1
  }
13:07:05.857 detox[17747] E ws-server@51709 connection :51708<->:51709
13:07:05.857 detox[17747] i ipc received event of :  deallocateDevice {
  deviceCookie: {
    id: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    udid: �[32m'BD3A83E7-74C4-4030-9F3E-FD16E93D59A5'�[39m,
    type: �[32m'ios.simulator'�[39m
  }
}
13:07:05.858 detox[17747] B device@0 free: BD3A83E7-74C4-4030-9F3E-FD16E93D59A5
  data: {}
13:07:05.862 detox[17747] E device@0 free: BD3A83E7-74C4-4030-9F3E-FD16E93D59A5
13:07:05.862 detox[17747] i ipc dispatching event to socket  :  deallocateDeviceDone {}
13:07:05.863 detox[17748] i ipc ## received events ##
13:07:05.863 detox[17748] i ipc detected event deallocateDeviceDone {}
13:07:05.864 detox[17748] E lifecycle tear down environment
13:07:05.864 detox[17748] E lifecycle e2e/Favorites/Favorites.test.ts
FAIL e2e/Favorites/Favorites.test.ts (135.397 s)
  Favourites
    ✕ Aggiunge e toglie preferiti (122920 ms)

  ● Favourites › Aggiunge e toglie preferiti

    thrown: "Exceeded timeout of 120000 ms for a test.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      45 |   });
      46 |
    > 47 |   it('Aggiunge e toglie preferiti', async () => {
         |   ^
      48 |     await loadData();
      49 |     await element(by.text('Favourites')).tap();
      50 |     await expect(element(by.text('There are no favorite files'))).toBeVisible();

      at e2e/Favorites/Favorites.test.ts:47:3
      at Object.<anonymous> (e2e/Favorites/Favorites.test.ts:30:1)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 12 skipped, 13 total
Snapshots:   0 total
Time:        140.498 s
Ran all test suites matching /Favorite/i with tests matching "Aggiunge e toglie preferiti".
13:07:05.873 detox[17748] i ipc dispatching event to  primary-17747 /tmp/detox.primary-17747  :  reportTestResults , {
  testResults: [
    {
      success: �[33mfalse�[39m,
      testFilePath: �[32m'/Users/user/src/[REDACTED]/e2e/Favorites/Favorites.test.ts'�[39m,
      testExecError: �[90mundefined�[39m,
      isPermanentFailure: �[33mfalse�[39m
    }
  ]
}
13:07:05.874 detox[17747] i ipc received event of :  reportTestResults {
  testResults: [
    {
      success: �[33mfalse�[39m,
      testFilePath: �[32m'/Users/user/src/[REDACTED]/e2e/Favorites/Favorites.test.ts'�[39m,
      isPermanentFailure: �[33mfalse�[39m
    }
  ]
}
13:07:05.874 detox[17747] i ipc dispatching event to socket  :  reportTestResultsDone {
  testResults: [
    {
      success: �[33mfalse�[39m,
      testFilePath: �[32m'/Users/user/src/[REDACTED]/e2e/Favorites/Favorites.test.ts'�[39m,
      isPermanentFailure: �[33mfalse�[39m
    }
  ]
}
13:07:05.875 detox[17747] i ipc broadcasting event to all known sockets listening to  /tmp/detox.primary-17747  :   sessionStateUpdate {
  testResults: [
    {
      success: �[33mfalse�[39m,
      testFilePath: �[32m'/Users/user/src/[REDACTED]/e2e/Favorites/Favorites.test.ts'�[39m,
      isPermanentFailure: �[33mfalse�[39m
    }
  ]
}
13:07:05.875 detox[17748] i ipc ## received events ##
13:07:05.875 detox[17748] i ipc detected event reportTestResultsDone {
  testResults: [
    {
      success: �[33mfalse�[39m,
      testFilePath: �[32m'/Users/user/src/[REDACTED]/e2e/Favorites/Favorites.test.ts'�[39m,
      isPermanentFailure: �[33mfalse�[39m
    }
  ]
}
13:07:05.878 detox[17748] i ipc connection closed primary-17747 /tmp/detox.primary-17747 0 tries remaining of 0
13:07:05.879 detox[17748] i ipc secondary-17748 exceeded connection rety amount of  or stopRetrying flag set.
13:07:05.879 detox[17747] i ipc socket disconnected secondary-17748
13:07:05.993 detox[17747] E lifecycle Command failed with exit code = 1:
jest --config e2e/jest.config.cjs -t Aggiunge\ e\ toglie\ preferiti Favorite
13:07:05.994 detox[17747] B device cleanup
  args: ()
13:07:05.995 detox[17747] E device cleanup
13:07:05.996 detox[17747] i ws-server Detox server has been closed gracefully
13:07:05.998 detox[17747] i ws-server app exited session 101d7fc7-c054-dd07-fba5-5061a4aa139f
13:07:05.998 detox[17747] E ws-server@51710 connection :51708<->:51710
13:07:05.999 detox[17747] E lifecycle node_modules/.bin/detox test -c ios.sim.debug --loglevel trace Favorite -t Aggiunge e toglie preferiti

Device logs

Device logs
14:07:29.078 detox[19359] B jest --config e2e/jest.config.cjs -t Aggiunge\ e\ toglie\ preferiti Favorite
14:07:38.547 detox[19360] i Favorites.test.ts is assigned to BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 (iPhone 15)
14:07:40.920 detox[19360] i [REDACTED] launched. To watch simulator logs, run:
        /usr/bin/xcrun simctl spawn BD3A83E7-74C4-4030-9F3E-FD16E93D59A5 log stream --level debug --style compact --predicate 'process == "[REDACTED]"'
14:07:45.189 detox[19360] i Favourites: Aggiunge e toglie preferiti
14:07:48.196 detox[19360] i rawData length 16268
14:09:48.207 detox[19360] i The app has not responded to the network requests below:
  (id = 5) invoke: {"type":"action","action":"replaceText","params":["Redacted - VERY LONG STRING"],"predicate":{"type":"id","value":"raw-data-input","isRegex":false}}
  (id = 6) currentStatus: {}

That might be the reason why the test "Favourites Aggiunge e toglie preferiti" has timed out.

14:09:48.209 detox[19360] i Favourites: Aggiunge e toglie preferiti [FAIL]
14:09:53.284 detox[19360] i The pending request #-49642 ("cleanup") has been rejected due to the following error:

The tester has not received a response within 5000ms timeout to the message:

Cleanup {
  type: 'cleanup',
  params: [Object],
  messageId: -49642
}
FAIL e2e/Favorites/Favorites.test.ts (137.548 s)
  Favourites
    ✕ Aggiunge e toglie preferiti (122951 ms)

  ● Favourites › Aggiunge e toglie preferiti

    thrown: "Exceeded timeout of 120000 ms for a test.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      45 |   });
      46 |
    > 47 |   it('Aggiunge e toglie preferiti', async () => {
         |   ^
      48 |     await loadData();
      49 |     await element(by.text('Favourites')).tap();
      50 |     await expect(element(by.text('There are no favorite files'))).toBeVisible();

      at e2e/Favorites/Favorites.test.ts:47:3
      at Object.<anonymous> (e2e/Favorites/Favorites.test.ts:30:1)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 12 skipped, 13 total
Snapshots:   0 total
Time:        142.704 s
Ran all test suites matching /Favorite/i with tests matching "Aggiunge e toglie preferiti".
14:09:53.423 detox[19359] E Command failed with exit code = 1:
jest --config e2e/jest.config.cjs -t Aggiunge\ e\ toglie\ preferiti Favorite

@dodomorandi
Copy link
Author

I am having trouble to reproduce the issue on a very simple application. I am start thinking that the problem comes up when other things are involved in the project. I will try to reproduce the issue keeping the minimal elements around. In theory it could be something totally not related to Detox, or it could even be that other actors trigger pathological behavior that maybe could be fixed by Detox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant