{"comment":{"url":"https://api.github.com/repos/xwiki/xwiki-platform/comments/13387641","html_url":"https://github.com/xwiki/xwiki-platform/commit/3d3a7c1dbb7a856bb6a5b1256f723921f8af6815#commitcomment-13387641","id":13387641,"user":{"login":"mflorea","id":652632,"avatar_url":"https://avatars.githubusercontent.com/u/652632?v=3","gravatar_id":"","url":"https://api.github.com/users/mflorea","html_url":"https://github.com/mflorea","followers_url":"https://api.github.com/users/mflorea/followers","following_url":"https://api.github.com/users/mflorea/following{/other_user}","gists_url":"https://api.github.com/users/mflorea/gists{/gist_id}","starred_url":"https://api.github.com/users/mflorea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mflorea/subscriptions","organizations_url":"https://api.github.com/users/mflorea/orgs","repos_url":"https://api.github.com/users/mflorea/repos","events_url":"https://api.github.com/users/mflorea/events{/privacy}","received_events_url":"https://api.github.com/users/mflorea/received_events","type":"User","site_admin":false},"position":86,"line":127,"path":"xwiki-platform-core/xwiki-platform-tree/xwiki-platform-tree-test-pageobjects/src/main/java/org/xwiki/tree/test/po/TreeElement.java","commit_id":"3d3a7c1dbb7a856bb6a5b1256f723921f8af6815","created_at":"2015-09-23T10:45:46Z","updated_at":"2015-09-23T10:45:46Z","body":"The tree nodes are deselected synchronously, check the [source code](https://github.com/vakata/jstree/blob/3.0.8/src/jstree.js#L2932). When the call to ``deselect_all()`` returns the tree nodes are already deselected. Moreover,  ``executeScript()`` is synchronous too, unlike ``executeAsyncScript()``, so I really don't see why we would need these additional waits."}}