{"action":"closed","issue":{"url":"https://api.github.com/repos/lefthandedgoat/canopy/issues/226","labels_url":"https://api.github.com/repos/lefthandedgoat/canopy/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/lefthandedgoat/canopy/issues/226/comments","events_url":"https://api.github.com/repos/lefthandedgoat/canopy/issues/226/events","html_url":"https://github.com/lefthandedgoat/canopy/issues/226","id":119411732,"number":226,"title":"Does Canopy have support for asynchronous behaviour?","user":{"login":"jpierson","id":1467146,"avatar_url":"https://avatars.githubusercontent.com/u/1467146?v=3","gravatar_id":"","url":"https://api.github.com/users/jpierson","html_url":"https://github.com/jpierson","followers_url":"https://api.github.com/users/jpierson/followers","following_url":"https://api.github.com/users/jpierson/following{/other_user}","gists_url":"https://api.github.com/users/jpierson/gists{/gist_id}","starred_url":"https://api.github.com/users/jpierson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpierson/subscriptions","organizations_url":"https://api.github.com/users/jpierson/orgs","repos_url":"https://api.github.com/users/jpierson/repos","events_url":"https://api.github.com/users/jpierson/events{/privacy}","received_events_url":"https://api.github.com/users/jpierson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lefthandedgoat/canopy/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-30T03:15:50Z","updated_at":"2015-12-01T03:06:55Z","closed_at":"2015-12-01T03:06:55Z","body":"Is support for testing asynchronous behaviour such a button that does an ajax request before affecting the DOM in any way that could be detectable through Selenium. From the snippet on the front page there is a check whether an element with an id of *button_clicked* has specific content after clicking the button.\r\n\r\n```f#\r\n    click \"#button\"\r\n    \"#button_clicked\" == \"button clicked\"\r\n```\r\n\r\nMy concern whether such test uses some type of polling or event listening pattern together with a timeout value to determine whether the assertion above passes or fails or if this is strictly just a synchronous test in this case. If this is a synchronous only test then are there any examples of an asynchronous one? It seems to me that the majority of tests I will expect to write with Canopy so I want to make sure that it is well supported before I start digging in. Please keep in mind that I'm quite new to F# and Selenium and most of my experience with web UI testing is with CodedUI."}}