{"action":"created","issue":{"url":"https://api.github.com/repos/wix/detox/issues/772","repository_url":"https://api.github.com/repos/wix/detox","labels_url":"https://api.github.com/repos/wix/detox/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/wix/detox/issues/772/comments","events_url":"https://api.github.com/repos/wix/detox/issues/772/events","html_url":"https://github.com/wix/detox/issues/772","id":329433949,"node_id":"MDU6SXNzdWUzMjk0MzM5NDk=","number":772,"title":"Headless test fails tap on RCTUITextField","user":{"login":"mrozbarry","id":566486,"node_id":"MDQ6VXNlcjU2NjQ4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/566486?v=4","gravatar_id":"","url":"https://api.github.com/users/mrozbarry","html_url":"https://github.com/mrozbarry","followers_url":"https://api.github.com/users/mrozbarry/followers","following_url":"https://api.github.com/users/mrozbarry/following{/other_user}","gists_url":"https://api.github.com/users/mrozbarry/gists{/gist_id}","starred_url":"https://api.github.com/users/mrozbarry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrozbarry/subscriptions","organizations_url":"https://api.github.com/users/mrozbarry/orgs","repos_url":"https://api.github.com/users/mrozbarry/repos","events_url":"https://api.github.com/users/mrozbarry/events{/privacy}","received_events_url":"https://api.github.com/users/mrozbarry/received_events","type":"User","site_admin":false},"labels":[{"id":621086282,"node_id":"MDU6TGFiZWw2MjEwODYyODI=","url":"https://api.github.com/repos/wix/detox/labels/user:%20more%20info%20needed","name":"user: more info needed","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-05T12:29:04Z","updated_at":"2018-06-26T14:13:44Z","closed_at":"2018-06-26T14:13:43Z","author_association":"NONE","body":"\r\n#### Description\r\n\r\nWhen running a test in headless mode, finding a RCTUITextField and performing `.tap()` fails with the following exception:\r\n\r\n```\r\n    Error: Cannot perform action due to constraint(s) failure.\r\n    Exception with Action: {\r\n      \"Action Name\" : \"Tap\",\r\n      \"Element Description\" : \"<RCTUITextField:0x7fe6518ac600; AX=Y; AX.id='email'; AX.value='john.smith'; AX.frame={{46, 388}, {283, 25}}; AX.activationPoint={187.5, 400.5}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {283, 25}}; alpha=1; text=''>\",\r\n      \"Failed Constraint(s)\" : \"interactable\",\r\n      \"All Constraint(s)\" : \"(!(isSystemAlertViewShown) && ((respondsToSelector(isAccessibilityElement) && isAccessibilityElement) || kindOfClass('UIView')) && (enabled && !(((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) && ancestorThatMatches(!(enabled))))) && interactable)\",\r\n      \"Recovery Suggestion\" : \"Adjust element properties so that it matches the failed constraint(s).\"\r\n    }\r\n\r\n    [\r\n      {\r\n        \"Description\" : \"Cannot perform action due to constraint(s) failure.\",\r\n        \"Error Domain\" : \"com.google.earlgrey.ElementInteractionErrorDomain\",\r\n        \"Error Code\" : \"1\",\r\n        \"File Name\" : \"GREYBaseAction.m\",\r\n        \"Function Name\" : \"-[GREYBaseAction satisfiesConstraintsForElement:error:]\",\r\n        \"Line\" : \"66\"\r\n      }\r\n    ]\r\n\r\n      at Client.execute (../node_modules/detox/src/client/Client.js:72:13)\r\n```\r\n\r\n#### Steps to Reproduce\r\n\r\nWrite a react native test with a TextInput. `element(by.id('some-text-input-id')).tap()` will fail the test in _headless_ mode, but appears to work correctly when running in the simulator.\r\n\r\n#### Detox, Node, Device, Xcode and macOS Versions\r\n\r\n* Detox: 7.3.7\r\n* React Native: 0.55.3\r\n* Node: 9.11.1\r\n* Device: iOS Simulator (iPhone 6)\r\n* Xcode: 9.4\r\n* macOS: 10.13.4 (17E202)\r\n\r\n#### Device and verbose Detox logs\r\n\r\n[text-input-headless-bug.log](https://github.com/wix/detox/files/2072326/text-input-headless-bug.log)"},"comment":{"url":"https://api.github.com/repos/wix/detox/issues/comments/400324170","html_url":"https://github.com/wix/detox/issues/772#issuecomment-400324170","issue_url":"https://api.github.com/repos/wix/detox/issues/772","id":400324170,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDMyNDE3MA==","user":{"login":"no-response[bot]","id":32965360,"node_id":"MDM6Qm90MzI5NjUzNjA=","avatar_url":"https://avatars2.githubusercontent.com/u/26350515?v=4","gravatar_id":"","url":"https://api.github.com/users/no-response%5Bbot%5D","html_url":"https://github.com/apps/no-response","followers_url":"https://api.github.com/users/no-response%5Bbot%5D/followers","following_url":"https://api.github.com/users/no-response%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/no-response%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/no-response%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no-response%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/no-response%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/no-response%5Bbot%5D/repos","events_url":"https://api.github.com/users/no-response%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/no-response%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-26T14:13:44Z","updated_at":"2018-06-26T14:13:44Z","author_association":"NONE","body":"This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.\n"}}
{"actor":{"display_login":"no-response"}}