{"action":"opened","issue":{"url":"https://api.github.com/repos/calabash/calabash-ios/issues/1324","repository_url":"https://api.github.com/repos/calabash/calabash-ios","labels_url":"https://api.github.com/repos/calabash/calabash-ios/issues/1324/labels{/name}","comments_url":"https://api.github.com/repos/calabash/calabash-ios/issues/1324/comments","events_url":"https://api.github.com/repos/calabash/calabash-ios/issues/1324/events","html_url":"https://github.com/calabash/calabash-ios/issues/1324","id":252852847,"number":1324,"title":"Prompt user for something while running the test","user":{"login":"vinamelody","id":990511,"avatar_url":"https://avatars0.githubusercontent.com/u/990511?v=4","gravatar_id":"","url":"https://api.github.com/users/vinamelody","html_url":"https://github.com/vinamelody","followers_url":"https://api.github.com/users/vinamelody/followers","following_url":"https://api.github.com/users/vinamelody/following{/other_user}","gists_url":"https://api.github.com/users/vinamelody/gists{/gist_id}","starred_url":"https://api.github.com/users/vinamelody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinamelody/subscriptions","organizations_url":"https://api.github.com/users/vinamelody/orgs","repos_url":"https://api.github.com/users/vinamelody/repos","events_url":"https://api.github.com/users/vinamelody/events{/privacy}","received_events_url":"https://api.github.com/users/vinamelody/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-25T09:58:23Z","updated_at":"2017-08-25T09:58:23Z","closed_at":null,"body":"Hi, how can I prompt user for a text while running the test, such as one time password?\r\n\r\nI'm looking into something like this but the text is based on user's input.\r\n```\r\nThen /^I enter \"([^\\\"]*)\" into the \"([^\\\"]*)\" (?:text|input) field$/ do |text_to_type, field_name|\r\n  touch(\"textField marked: '#{field_name}'\")\r\n  wait_for_keyboard\r\n  keyboard_enter_text text_to_type\r\n  sleep(STEP_PAUSE)\r\nend\r\n```\r\n\r\nThanks for help"}}
{"actor":{"display_login":"vinamelody"}}