Skip to content

Instantly share code, notes, and snippets.

@noomorph
Created November 8, 2022 10:42
Show Gist options
  • Save noomorph/57bb8a80ea44d1ff6fdee6695e9b7afd to your computer and use it in GitHub Desktop.
Save noomorph/57bb8a80ea44d1ff6fdee6695e9b7afd to your computer and use it in GitHub Desktop.
Illustration for the broken process sorting in Perfetto
[
{"ph":"M","args":{"name":"primary"},"ts":1667904017982000,"tid":0,"pid":513,"name":"process_name"},
{"ph":"M","args":{"sort_index":0},"ts":1667904017982000,"tid":0,"pid":513,"name":"process_sort_index"},
{"ph":"M","args":{"name":"lifecycle"},"ts":1667904017982000,"tid":0,"pid":513,"name":"thread_name"},
{"ph":"M","args":{"sort_index":0},"ts":1667904017982000,"tid":0,"pid":513,"name":"thread_sort_index"},
{"ph":"B","name":"node_modules/.bin/detox test -c stub e2e/01.sanity.test.js","pid":513,"tid":0,"cat":"lifecycle","ts":1667904017982000,"args":{"level":10,"cwd":"/Users/yaroslavs/Projects/wix/Detox/detox/test","data":{"id":"eae799ff-4b8f-5ac2-67ab-fd124f6c02d5","contexts":[],"detoxConfig":{"configurationName":"stub","apps":{"example":{"name":"example"}},"artifacts":{"rootDir":"artifacts/stub.2022-11-08 10-40-17Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"shouldTakeAutomaticSnapshots":true,"takeWhen":{},"enabled":true,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"uiHierarchy":{"enabled":true,"keepOnlyFailedTestsArtifacts":false}}},"behavior":{"init":{"keepLockFile":false,"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cli":{"configuration":"stub"},"device":{"type":"./integration/stub","integ":"stub"},"logger":{"level":"info","overrideConsole":true,"options":{"showLoggerName":true,"showPid":true,"showLevel":false,"showMetadata":false,"basepath":"/Users/yaroslavs/Projects/wix/Detox/detox/src","prefixers":{},"stringifiers":{}}},"testRunner":{"retries":0,"forwardEnv":false,"bail":false,"jest":{"setupTimeout":300000,"teardownTimeout":30000,"retryAfterCircusRetries":false,"reportWorkerAssign":true},"args":{"$0":"nyc jest","_":["e2e/01.sanity.test.js"],"config":"e2e/jest.config.js","--":[]}},"session":{"autoStart":true,"debugSynchronization":10000}},"detoxIPCServer":"primary-513","testResults":[],"testSessionIndex":0,"workersCount":0},"v":0}},
{"ph":"M","args":{"name":"ipc"},"ts":1667904017988000,"tid":1,"pid":513,"name":"thread_name"},
{"ph":"M","args":{"sort_index":1},"ts":1667904017988000,"tid":1,"pid":513,"name":"thread_sort_index"},
{"ph":"i","name":"Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-513","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904017988000,"args":{"level":10,"v":0}},
{"ph":"i","name":"starting server on /tmp/detox.primary-513 ","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904017991000,"args":{"level":10,"v":0}},
{"ph":"i","name":"starting TLS server false","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904017992000,"args":{"level":10,"v":0}},
{"ph":"i","name":"starting server as Unix || Windows Socket","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904017992000,"args":{"level":10,"v":0}},
{"ph":"M","args":{"name":"ws-server"},"ts":1667904017994000,"tid":2,"pid":513,"name":"thread_name"},
{"ph":"M","args":{"sort_index":2},"ts":1667904017994000,"tid":2,"pid":513,"name":"thread_sort_index"},
{"ph":"i","name":"Detox server listening on localhost:50298...","pid":513,"tid":2,"cat":"ws-server,ws","ts":1667904017994000,"args":{"level":20,"v":0}},
{"ph":"i","name":"Serialized the session state at: /private/var/folders/lm/thz8hdxs4v3fppjh0fjc2twhfl_3x2/T/eae799ff-4b8f-5ac2-67ab-fd124f6c02d5.detox.json","pid":513,"tid":0,"cat":"lifecycle","ts":1667904017996000,"args":{"level":10,"v":0}},
{"ph":"i","name":"nyc jest --config e2e/jest.config.js e2e/01.sanity.test.js","pid":513,"tid":0,"cat":"lifecycle,cli","ts":1667904017998000,"args":{"level":30,"env":{},"v":0}},
{"ph":"M","args":{"name":"secondary"},"ts":1667904019593000,"tid":0,"pid":517,"name":"process_name"},
{"ph":"M","args":{"sort_index":1},"ts":1667904019593000,"tid":0,"pid":517,"name":"process_sort_index"},
{"ph":"M","args":{"name":"ipc"},"ts":1667904019593000,"tid":4,"pid":517,"name":"thread_name"},
{"ph":"M","args":{"sort_index":4},"ts":1667904019593000,"tid":4,"pid":517,"name":"thread_sort_index"},
{"ph":"i","name":"Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id ","pid":517,"tid":4,"cat":"ipc","ts":1667904019593000,"args":{"level":10,"v":0}},
{"ph":"i","name":"requested connection to primary-513 /tmp/detox.primary-513","pid":517,"tid":4,"cat":"ipc","ts":1667904019594000,"args":{"level":10,"v":0}},
{"ph":"i","name":"Connecting client on Unix Socket : /tmp/detox.primary-513","pid":517,"tid":4,"cat":"ipc","ts":1667904019594000,"args":{"level":10,"v":0}},
{"ph":"i","name":"## socket connection to server detected ##","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904019596000,"args":{"level":10,"v":0}},
{"ph":"i","name":"retrying reset","pid":517,"tid":4,"cat":"ipc","ts":1667904019596000,"args":{"level":10,"v":0}},
{"ph":"i","name":"dispatching event to primary-513 /tmp/detox.primary-513 : registerContext , { id: 'secondary-517' }","pid":517,"tid":4,"cat":"ipc","ts":1667904019598000,"args":{"level":10,"v":0}},
{"ph":"i","name":"received event of : registerContext { id: 'secondary-517' }","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904019601000,"args":{"level":10,"v":0}},
{"ph":"i","name":"dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: 0 }","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904019601000,"args":{"level":10,"v":0}},
{"ph":"i","name":"## received events ##","pid":517,"tid":4,"cat":"ipc","ts":1667904019602000,"args":{"level":10,"v":0}},
{"ph":"i","name":"detected event registerContextDone { testResults: [], testSessionIndex: 0 }","pid":517,"tid":4,"cat":"ipc","ts":1667904019603000,"args":{"level":10,"v":0}},
{"ph":"M","args":{"name":"lifecycle"},"ts":1667904019887000,"tid":5,"pid":517,"name":"thread_name"},
{"ph":"M","args":{"sort_index":5},"ts":1667904019887000,"tid":5,"pid":517,"name":"thread_sort_index"},
{"ph":"B","name":"e2e/01.sanity.test.js","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904019887000,"args":{"level":10,"v":0}},
{"ph":"B","name":"set up environment","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904019917000,"args":{"level":10,"v":0}},
{"ph":"i","name":"dispatching event to primary-513 /tmp/detox.primary-513 : registerWorker , { workerId: 'w1' }","pid":517,"tid":4,"cat":"ipc","ts":1667904019919000,"args":{"level":10,"v":0}},
{"ph":"i","name":"received event of : registerWorker { workerId: 'w1' }","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904019920000,"args":{"level":10,"v":0}},
{"ph":"i","name":"dispatching event to socket : registerWorkerDone { workersCount: 1 }","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904019920000,"args":{"level":10,"v":0}},
{"ph":"i","name":"broadcasting event to all known sockets listening to /tmp/detox.primary-513 : sessionStateUpdate { workersCount: 1 }","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904019921000,"args":{"level":10,"v":0}},
{"ph":"i","name":"## received events ##","pid":517,"tid":4,"cat":"ipc","ts":1667904019922000,"args":{"level":10,"v":0}},
{"ph":"i","name":"detected event registerWorkerDone { workersCount: 1 }","pid":517,"tid":4,"cat":"ipc","ts":1667904019923000,"args":{"level":10,"v":0}},
{"ph":"i","name":"detected event sessionStateUpdate { workersCount: 1 }","pid":517,"tid":4,"cat":"ipc","ts":1667904019923000,"args":{"level":10,"v":0}},
{"ph":"B","name":"connection :50298<->:50328","pid":513,"tid":2,"cat":"ws-server,ws","ts":1667904020360000,"args":{"level":20,"id":50328,"v":0}},
{"ph":"M","args":{"name":"ws-client"},"ts":1667904020362000,"tid":6,"pid":517,"name":"thread_name"},
{"ph":"M","args":{"sort_index":6},"ts":1667904020362000,"tid":6,"pid":517,"name":"thread_sort_index"},
{"ph":"i","name":"opened web socket to: ws://localhost:50298","pid":517,"tid":6,"cat":"ws-client,ws","ts":1667904020362000,"args":{"level":10,"v":0}},
{"ph":"i","name":"send message","pid":517,"tid":6,"cat":"ws-client,ws","ts":1667904020366000,"args":{"level":10,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"0bbb6760-5c9a-9263-4e23-9211df2001d3\",\"role\":\"tester\"},\"messageId\":0}","v":0}},
{"ph":"i","name":"get","pid":513,"tid":2,"cat":"ws-server,ws","ts":1667904020368000,"args":{"level":10,"id":50328,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"0bbb6760-5c9a-9263-4e23-9211df2001d3\",\"role\":\"tester\"},\"messageId\":0}","v":0}},
{"ph":"M","args":{"name":"ws-server"},"ts":1667904020368000,"tid":3,"pid":513,"name":"thread_name"},
{"ph":"M","args":{"sort_index":3},"ts":1667904020368000,"tid":3,"pid":513,"name":"thread_sort_index"},
{"ph":"i","name":"created session 0bbb6760-5c9a-9263-4e23-9211df2001d3","pid":513,"tid":3,"cat":"ws-server,ws-session","ts":1667904020368000,"args":{"level":10,"v":0}},
{"ph":"i","name":"send","pid":513,"tid":2,"cat":"ws-server,ws","ts":1667904020369000,"args":{"level":10,"id":50328,"trackingId":"tester","sessionId":"0bbb6760-5c9a-9263-4e23-9211df2001d3","role":"tester","data":{"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0},"v":0}},
{"ph":"i","name":"tester joined session 0bbb6760-5c9a-9263-4e23-9211df2001d3","pid":513,"tid":3,"cat":"ws-server,ws-session","ts":1667904020369000,"args":{"level":10,"v":0}},
{"ph":"i","name":"get message","pid":517,"tid":6,"cat":"ws-client,ws","ts":1667904020370000,"args":{"level":10,"data":"{\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":false},\"messageId\":0}\n ","v":0}},
{"ph":"M","args":{"name":"device"},"ts":1667904020381000,"tid":7,"pid":517,"name":"thread_name"},
{"ph":"M","args":{"sort_index":7},"ts":1667904020381000,"tid":7,"pid":517,"name":"thread_sort_index"},
{"ph":"B","name":"allocate","pid":517,"tid":7,"cat":"device","ts":1667904020381000,"args":{"level":10,"args":[{"type":"./integration/stub","integ":"stub"}],"v":0}},
{"ph":"M","args":{"name":"artifacts-manager"},"ts":1667904021382000,"tid":8,"pid":517,"name":"thread_name"},
{"ph":"M","args":{"sort_index":8},"ts":1667904021382000,"tid":8,"pid":517,"name":"thread_sort_index"},
{"ph":"B","name":"onBootDevice","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904021382000,"args":{"level":10,"args":[{"coldBoot":false,"deviceId":"StubDevice#1","type":"stub"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904021382000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904021383000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"selectApp","pid":517,"tid":7,"cat":"device","ts":1667904021386000,"args":{"level":10,"args":["example"],"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904021387000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"uninstallApp","pid":517,"tid":7,"cat":"device","ts":1667904021387000,"args":{"level":10,"args":[],"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904023389000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"selectApp","pid":517,"tid":7,"cat":"device","ts":1667904023389000,"args":{"level":10,"args":["example"],"v":0}},
{"ph":"B","name":"terminateApp","pid":517,"tid":7,"cat":"device","ts":1667904023391000,"args":{"level":10,"args":[],"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904024392000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904024392000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"installApp","pid":517,"tid":7,"cat":"device","ts":1667904024393000,"args":{"level":10,"args":[],"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904026393000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"selectApp","pid":517,"tid":7,"cat":"device","ts":1667904026394000,"args":{"level":10,"args":["example"],"v":0}},
{"ph":"B","name":"terminateApp","pid":517,"tid":7,"cat":"device","ts":1667904026394000,"args":{"level":10,"args":[],"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904027394000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904027395000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904027395000,"args":{"level":10,"success":true,"v":0}},
{"ph":"i","name":"01.sanity.test.js is assigned to Stub #StubDevice#1","pid":517,"tid":5,"cat":"lifecycle","ts":1667904027682000,"args":{"level":30,"v":0}},
{"ph":"B","name":"run the tests","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904027684000,"args":{"level":10,"v":0}},
{"ph":"B","name":"onRunDescribeStart","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904027685000,"args":{"level":10,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904027685000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"beforeAll","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904027686000,"args":{"level":10,"functionCode":"async () => {\n await device.selectApp('example');\n await device.launchApp();\n}","v":0}},
{"ph":"B","name":"selectApp","pid":517,"tid":7,"cat":"device","ts":1667904027689000,"args":{"level":10,"args":["example"],"v":0}},
{"ph":"B","name":"terminateApp","pid":517,"tid":7,"cat":"device","ts":1667904027689000,"args":{"level":10,"args":[],"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904028690000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904028690000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"launchApp","pid":517,"tid":7,"cat":"device","ts":1667904028690000,"args":{"level":10,"args":[],"v":0}},
{"ph":"B","name":"terminateApp","pid":517,"tid":7,"cat":"device","ts":1667904028691000,"args":{"level":10,"args":[""],"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904029692000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"onAppReady","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904030795000,"args":{"level":10,"args":[{"deviceId":"StubDevice#1","bundleId":"","pid":517}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904030795000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904030795000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904030795000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"Sanity","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904030796000,"args":{"level":10,"v":0}},
{"ph":"B","name":"onRunDescribeStart","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904030796000,"args":{"level":10,"args":[{"name":"Sanity"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904030796000,"args":{"level":10,"success":true,"v":0}},
{"ph":"i","name":"Sanity: should have welcome screen","pid":517,"tid":5,"cat":"lifecycle","ts":1667904030797000,"args":{"level":30,"v":0}},
{"ph":"B","name":"should have welcome screen","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904030797000,"args":{"level":10,"context":"test","status":"running","fullName":"Sanity should have welcome screen","invocations":1,"v":0}},
{"ph":"B","name":"onTestStart","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904030798000,"args":{"level":10,"args":[{"title":"should have welcome screen","fullName":"Sanity should have welcome screen","invocations":1,"status":"running"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904030798000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"beforeEach","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904030798000,"args":{"level":10,"functionCode":"() => {\n if (config.resetModules) {\n runtime.resetModules();\n }\n if (config.clearMocks) {\n runtime.clearAllMocks();\n }\n if (config.resetMocks) {\n runtime.resetAllMocks();\n if (\n config.fakeTimers.enableGlobally &&\n config.fakeTimers.legacyFakeTimers\n ) {\n // during setup, this cannot be null (and it's fine to explode if it is)\n environment.fakeTimers.useFakeTimers();\n }\n }\n if (config.restoreMocks) {\n runtime.restoreAllMocks();\n }\n }","v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904030798000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"beforeEach","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904030798000,"args":{"level":10,"functionCode":"async () => {\n await device.reloadReactNative();\n await detox.traceCall('Navigate to sanity', element(by.text('Sanity')).tap());\n }","v":0}},
{"ph":"B","name":"reloadReactNative","pid":517,"tid":7,"cat":"device","ts":1667904030799000,"args":{"level":10,"args":[],"v":0}},
{"ph":"M","args":{"name":"user"},"ts":1667904030799000,"tid":9,"pid":517,"name":"thread_name"},
{"ph":"M","args":{"sort_index":9},"ts":1667904030799000,"tid":9,"pid":517,"name":"thread_sort_index"},
{"ph":"B","name":"reload React Native","pid":517,"tid":9,"cat":"user","ts":1667904030799000,"args":{"level":10,"v":0}},
{"ph":"E","pid":517,"tid":9,"cat":"user","ts":1667904030899000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904030899000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"Navigate to sanity","pid":517,"tid":9,"cat":"user","ts":1667904030900000,"args":{"level":10,"v":0}},
{"ph":"E","pid":517,"tid":9,"cat":"user","ts":1667904031001000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031001000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"test_fn","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031001000,"args":{"level":10,"functionCode":"async () => {\n await expect(element(by.text('Welcome'))).toBeVisible();\n await expect(element(by.text('Say Hello'))).toBeVisible();\n await expect(element(by.text('Say World'))).toBeVisible();\n }","v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031032000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"onTestDone","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031033000,"args":{"level":10,"args":[{"title":"should have welcome screen","fullName":"Sanity should have welcome screen","invocations":1,"status":"passed"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031033000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031033000,"args":{"level":10,"status":"passed","v":0}},
{"ph":"i","name":"Sanity: should have welcome screen [OK]","pid":517,"tid":5,"cat":"lifecycle","ts":1667904031033000,"args":{"level":30,"v":0}},
{"ph":"i","name":"Sanity: should show hello screen after tap","pid":517,"tid":5,"cat":"lifecycle","ts":1667904031034000,"args":{"level":30,"v":0}},
{"ph":"B","name":"should show hello screen after tap","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031035000,"args":{"level":10,"context":"test","status":"running","fullName":"Sanity should show hello screen after tap","invocations":1,"v":0}},
{"ph":"B","name":"onTestStart","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031035000,"args":{"level":10,"args":[{"title":"should show hello screen after tap","fullName":"Sanity should show hello screen after tap","invocations":1,"status":"running"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031035000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"beforeEach","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031035000,"args":{"level":10,"functionCode":"() => {\n if (config.resetModules) {\n runtime.resetModules();\n }\n if (config.clearMocks) {\n runtime.clearAllMocks();\n }\n if (config.resetMocks) {\n runtime.resetAllMocks();\n if (\n config.fakeTimers.enableGlobally &&\n config.fakeTimers.legacyFakeTimers\n ) {\n // during setup, this cannot be null (and it's fine to explode if it is)\n environment.fakeTimers.useFakeTimers();\n }\n }\n if (config.restoreMocks) {\n runtime.restoreAllMocks();\n }\n }","v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031035000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"beforeEach","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031035000,"args":{"level":10,"functionCode":"async () => {\n await device.reloadReactNative();\n await detox.traceCall('Navigate to sanity', element(by.text('Sanity')).tap());\n }","v":0}},
{"ph":"B","name":"reloadReactNative","pid":517,"tid":7,"cat":"device","ts":1667904031035000,"args":{"level":10,"args":[],"v":0}},
{"ph":"B","name":"reload React Native","pid":517,"tid":9,"cat":"user","ts":1667904031036000,"args":{"level":10,"v":0}},
{"ph":"E","pid":517,"tid":9,"cat":"user","ts":1667904031137000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904031137000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"Navigate to sanity","pid":517,"tid":9,"cat":"user","ts":1667904031137000,"args":{"level":10,"v":0}},
{"ph":"E","pid":517,"tid":9,"cat":"user","ts":1667904031238000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031239000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"test_fn","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031239000,"args":{"level":10,"functionCode":"async () => {\n await element(by.text('Say Hello')).tap();\n await expect(element(by.text('Hello!!!'))).toBeVisible();\n }","v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031351000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"onTestDone","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031351000,"args":{"level":10,"args":[{"title":"should show hello screen after tap","fullName":"Sanity should show hello screen after tap","invocations":1,"status":"passed"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031351000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031351000,"args":{"level":10,"status":"passed","v":0}},
{"ph":"i","name":"Sanity: should show hello screen after tap [OK]","pid":517,"tid":5,"cat":"lifecycle","ts":1667904031351000,"args":{"level":30,"v":0}},
{"ph":"i","name":"Sanity: should show world screen after tap","pid":517,"tid":5,"cat":"lifecycle","ts":1667904031352000,"args":{"level":30,"v":0}},
{"ph":"B","name":"should show world screen after tap","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031353000,"args":{"level":10,"context":"test","status":"running","fullName":"Sanity should show world screen after tap","invocations":1,"v":0}},
{"ph":"B","name":"onTestStart","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031353000,"args":{"level":10,"args":[{"title":"should show world screen after tap","fullName":"Sanity should show world screen after tap","invocations":1,"status":"running"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031353000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"beforeEach","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031353000,"args":{"level":10,"functionCode":"() => {\n if (config.resetModules) {\n runtime.resetModules();\n }\n if (config.clearMocks) {\n runtime.clearAllMocks();\n }\n if (config.resetMocks) {\n runtime.resetAllMocks();\n if (\n config.fakeTimers.enableGlobally &&\n config.fakeTimers.legacyFakeTimers\n ) {\n // during setup, this cannot be null (and it's fine to explode if it is)\n environment.fakeTimers.useFakeTimers();\n }\n }\n if (config.restoreMocks) {\n runtime.restoreAllMocks();\n }\n }","v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031353000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"beforeEach","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031354000,"args":{"level":10,"functionCode":"async () => {\n await device.reloadReactNative();\n await detox.traceCall('Navigate to sanity', element(by.text('Sanity')).tap());\n }","v":0}},
{"ph":"B","name":"reloadReactNative","pid":517,"tid":7,"cat":"device","ts":1667904031355000,"args":{"level":10,"args":[],"v":0}},
{"ph":"B","name":"reload React Native","pid":517,"tid":9,"cat":"user","ts":1667904031355000,"args":{"level":10,"v":0}},
{"ph":"E","pid":517,"tid":9,"cat":"user","ts":1667904031456000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904031456000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"Navigate to sanity","pid":517,"tid":9,"cat":"user","ts":1667904031456000,"args":{"level":10,"v":0}},
{"ph":"E","pid":517,"tid":9,"cat":"user","ts":1667904031557000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031557000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"test_fn","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031557000,"args":{"level":10,"functionCode":"async () => {\n await element(by.text('Say World')).tap();\n await expect(element(by.text('World!!!'))).toBeVisible();\n }","v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031670000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"onTestDone","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031670000,"args":{"level":10,"args":[{"title":"should show world screen after tap","fullName":"Sanity should show world screen after tap","invocations":1,"status":"passed"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031671000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031671000,"args":{"level":10,"status":"passed","v":0}},
{"ph":"i","name":"Sanity: should show world screen after tap [OK]","pid":517,"tid":5,"cat":"lifecycle","ts":1667904031671000,"args":{"level":30,"v":0}},
{"ph":"B","name":"onRunDescribeFinish","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031672000,"args":{"level":10,"args":[{"name":"Sanity"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031672000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031672000,"args":{"level":10,"v":0}},
{"ph":"B","name":"onRunDescribeFinish","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031672000,"args":{"level":10,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031673000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031673000,"args":{"level":10,"v":0}},
{"ph":"B","name":"tear down environment","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031730000,"args":{"level":10,"v":0}},
{"ph":"B","name":"onBeforeCleanup","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031731000,"args":{"level":10,"args":[],"v":0}},
{"ph":"E","pid":517,"tid":8,"cat":"artifacts-manager,artifact","ts":1667904031731000,"args":{"level":10,"success":true,"v":0}},
{"ph":"B","name":"free","pid":517,"tid":7,"cat":"device","ts":1667904031736000,"args":{"level":10,"args":[{"id":"StubDevice#1"},{"shutdown":false}],"v":0}},
{"ph":"i","name":"tester exited session 0bbb6760-5c9a-9263-4e23-9211df2001d3","pid":513,"tid":3,"cat":"ws-server,ws-session","ts":1667904031737000,"args":{"level":10,"v":0}},
{"ph":"E","pid":513,"tid":2,"cat":"ws-server,ws","ts":1667904031737000,"args":{"level":20,"id":50328,"trackingId":"tester","sessionId":"0bbb6760-5c9a-9263-4e23-9211df2001d3","role":"tester","v":0}},
{"ph":"E","pid":517,"tid":7,"cat":"device","ts":1667904031836000,"args":{"level":10,"success":true,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031837000,"args":{"level":10,"v":0}},
{"ph":"E","pid":517,"tid":5,"cat":"lifecycle,jest-environment","ts":1667904031837000,"args":{"level":10,"success":true,"v":0}},
{"ph":"i","name":"dispatching event to primary-513 /tmp/detox.primary-513 : reportTestResults , {\n testResults: [\n {\n success: true,\n testFilePath: '/Users/yaroslavs/Projects/wix/Detox/detox/test/e2e/01.sanity.test.js',\n testExecError: undefined,\n isPermanentFailure: false\n }\n ]\n}","pid":517,"tid":4,"cat":"ipc","ts":1667904031842000,"args":{"level":10,"v":0}},
{"ph":"i","name":"received event of : reportTestResults {\n testResults: [\n {\n success: true,\n testFilePath: '/Users/yaroslavs/Projects/wix/Detox/detox/test/e2e/01.sanity.test.js',\n isPermanentFailure: false\n }\n ]\n}","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904031843000,"args":{"level":10,"v":0}},
{"ph":"i","name":"dispatching event to socket : reportTestResultsDone {\n testResults: [\n {\n success: true,\n testFilePath: '/Users/yaroslavs/Projects/wix/Detox/detox/test/e2e/01.sanity.test.js',\n isPermanentFailure: false\n }\n ]\n}","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904031843000,"args":{"level":10,"v":0}},
{"ph":"i","name":"broadcasting event to all known sockets listening to /tmp/detox.primary-513 : sessionStateUpdate {\n testResults: [\n {\n success: true,\n testFilePath: '/Users/yaroslavs/Projects/wix/Detox/detox/test/e2e/01.sanity.test.js',\n isPermanentFailure: false\n }\n ]\n}","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904031843000,"args":{"level":10,"v":0}},
{"ph":"i","name":"## received events ##","pid":517,"tid":4,"cat":"ipc","ts":1667904031843000,"args":{"level":10,"v":0}},
{"ph":"i","name":"detected event reportTestResultsDone {\n testResults: [\n {\n success: true,\n testFilePath: '/Users/yaroslavs/Projects/wix/Detox/detox/test/e2e/01.sanity.test.js',\n isPermanentFailure: false\n }\n ]\n}","pid":517,"tid":4,"cat":"ipc","ts":1667904031843000,"args":{"level":10,"v":0}},
{"ph":"i","name":"socket disconnected secondary-517","pid":513,"tid":1,"cat":"ipc,ipc-server","ts":1667904031849000,"args":{"level":10,"v":0}},
{"ph":"i","name":"connection closed primary-513 /tmp/detox.primary-513 0 tries remaining of 0","pid":517,"tid":4,"cat":"ipc","ts":1667904031849000,"args":{"level":10,"v":0}},
{"ph":"i","name":"secondary-517 exceeded connection rety amount of or stopRetrying flag set.","pid":517,"tid":4,"cat":"ipc","ts":1667904031849000,"args":{"level":10,"v":0}},
{"ph":"i","name":"Detox server has been closed gracefully","pid":513,"tid":2,"cat":"ws-server,ws","ts":1667904032290000,"args":{"level":20,"v":0}},
{"ph":"E","pid":513,"tid":0,"cat":"lifecycle","ts":1667904032292000,"args":{"level":10,"v":0}}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment