Open gomesbreno opened 1 year ago
Hi @gomesbreno, this is most likely linked to https://github.com/wix/Detox/issues/3762.
I can confirm this happens for me on API 33 & 34. Even with the latest patch for Detox@20.13.1. My only option has been to downgrade to API 32, which also has an issue of really slow keyboard entry.
Is anyone else experiencing this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
typeText
is really slow on Android. Once done, I also see s_glBindAttribLocation: bind attrib 0 name position
which I have no idea how to resolve. Also, once typing is done, the test doesn't proceed and shows The app is busy with the following tasks: • 1 network requests with URLs
in the log.
I also get this in a test: s_glBindAttribLocation: bind attrib 0 name position s_glBindAttribLocation: bind attrib 1 name color s_glBindAttribLocation: bind attrib 2 name localCoor
+1 RN: 0.72.6 detox: 20.20.2
same to me RN : 0.72.3 detox : 20.21.0
Also experiencing this RN: 0.74.5 Detox: 20.25.2
typeText
is really slow on Android. Once done, I also sees_glBindAttribLocation: bind attrib 0 name position
which I have no idea how to resolve. Also, once typing is done, the test doesn't proceed and showsThe app is busy with the following tasks: • 1 network requests with URLs
in the log.
Probably because Android is doing all kinds of AI/ML stuff for every text input typing.
What happened?
When call typeText method, the app do not apply on input the provided text, however on iOS it works fine.
What was the expected behaviour?
text been prompt on input.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 20.12.1 React Native version: 0.72.5 Has Fabric (React Native's new rendering system) enabled: no Node version: v16.18.1 Device model: Pixel_3a_API_33_arm64-v8a Android version: 33 Test-runner (select one): jest
Detox logs
Detox logs
``` 13:17:01.436 detox[2255] B lifecycle node_modules/.bin/detox test --configuration android.emu.release --loglevel trace data: { "id": "20365f17-2028-eb11-f635-d13a7dded485", "detoxConfig": { "configurationName": "android.emu.release", "apps": { "default": { "type": "android.apk", "binaryPath": "android/app/build/outputs/apk/release/app-release.apk", "build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release" } }, "artifacts": { "rootDir": "artifacts/android.emu.release.2023-10-03 16-17-01Z", "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": "android.emu.release", "loglevel": "trace", "start": true }, "device": { "type": "android.emulator", "device": { "avdName": "Pixel_3a_API_33_arm64-v8a" } }, "logger": { "level": "trace", "overrideConsole": true, "options": { "showLoggerName": true, "showPid": true, "showLevel": false, "showMetadata": false, "basepath": "/Users/breno.gomes/Desktop/git-novo/adv-mobile-app/node_modules/detox/src", "prefixers": {}, "stringifiers": {} } }, "testRunner": { "retries": 0, "forwardEnv": false, "bail": false, "jest": { "setupTimeout": 120000, "teardownTimeout": 30000, "retryAfterCircusRetries": false, "reportWorkerAssign": true }, "args": { "$0": "jest", "_": [], "config": "e2e/jest.config.js", "--": [] } }, "session": { "autoStart": true, "debugSynchronization": 10000 } }, "detoxIPCServer": "primary-2255", "testResults": [], "testSessionIndex": 0, "workersCount": 0 } 13:17:01.440 detox[2255] i ipc Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-2255 13:17:01.441 detox[2255] i ipc starting server on /tmp/detox.primary-2255 13:17:01.441 detox[2255] i ipc starting TLS server false 13:17:01.441 detox[2255] i ipc starting server as Unix || Windows Socket 13:17:01.444 detox[2255] i ws-server Detox server listening on localhost:58441... 13:17:01.447 detox[2255] i lifecycle Serialized the session state at: /private/var/folders/jk/r6mqvhr13dj1f6f5rjyg73jw0000gp/T/20365f17-2028-eb11-f635-d13a7dded485.detox.json 13:17:01.448 detox[2255] B lifecycle jest --config e2e/jest.config.js watchman warning: Recrawled this watch 77 times, most recently because: MustScanSubDirs UserDroppedTo resolve, please review the information on https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl To clear this warning, run: `watchman watch-del '/Users/breno.gomes/Desktop/git-novo/adv-mobile-app' ; watchman watch-project '/Users/breno.gomes/Desktop/git-novo/adv-mobile-app'` Determining test suites to run...13:17:01.858 detox[2256] i ipc Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id 13:17:01.859 detox[2256] i ipc requested connection to primary-2255 /tmp/detox.primary-2255 13:17:01.859 detox[2256] i ipc Connecting client on Unix Socket : /tmp/detox.primary-2255 13:17:01.860 detox[2255] i ipc ## socket connection to server detected ## 13:17:01.861 detox[2256] i ipc retrying reset 13:17:01.862 detox[2256] i ipc dispatching event to primary-2255 /tmp/detox.primary-2255 : registerContext , { id: 'secondary-2256' } 13:17:01.863 detox[2255] i ipc received event of : registerContext { id: 'secondary-2256' } 13:17:01.864 detox[2255] i ipc dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: 0 } 13:17:01.864 detox[2256] i ipc ## received events ## 13:17:01.864 detox[2256] i ipc detected event registerContextDone { testResults: [], testSessionIndex: 0 } 13:17:01.895 detox[2256] B lifecycle e2e/E2E.test.js 13:17:01.903 detox[2256] B lifecycle set up environment 13:17:01.904 detox[2256] i ipc dispatching event to primary-2255 /tmp/detox.primary-2255 : registerWorker , { workerId: 'w1' } RUNS e2e/E2E.test.js 13:17:50.477 detox[2255] i ws-server@58519 send data: { "type": "invoke", "params": { "target": { "type": "Class", "value": "com.wix.detox.espresso.DetoxAssertion" }, "method": "assertMatcher", "args": [ { "type": "Invocation", "value": { "target": { "type": "Class", "value": "androidx.test.espresso.Espresso" }, "method": "onView", "args": [ { "type": "Invocation", "value": { "target": { "type": "Class", "value": "com.wix.detox.espresso.DetoxMatcher" }, "method": "matcherForText", "args": [ "Calendário", { "type": "boolean", "value": false } ] } } ] } }, { "type": "Invocation", "value": { "target": { "type": "Class", "value": "com.wix.detox.espresso.DetoxMatcher" }, "method": "matcherForSufficientlyVisible", "args": [ { "type": "Integer", "value": 75 } ] } } ] }, "messageId": 14 } 13:17:50.494 detox[2255] i ws-server@58519 get data: {"messageId":14,"type":"testFailed","params":{"details":"'(view has effective visibilityDevice logs
Device logs
``` paste your device.log here! ```More data, please!
No response