{"action":"opened","number":615,"pull_request":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/615","id":73887631,"html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/615","diff_url":"https://github.com/ezsystems/PlatformUIBundle/pull/615.diff","patch_url":"https://github.com/ezsystems/PlatformUIBundle/pull/615.patch","issue_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/615","number":615,"state":"open","locked":false,"title":"[Behat] Improve element finding using XPath instead of CSS selectors","user":{"login":"miguelcleverti","id":8983122,"avatar_url":"https://avatars.githubusercontent.com/u/8983122?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcleverti","html_url":"https://github.com/miguelcleverti","followers_url":"https://api.github.com/users/miguelcleverti/followers","following_url":"https://api.github.com/users/miguelcleverti/following{/other_user}","gists_url":"https://api.github.com/users/miguelcleverti/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcleverti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcleverti/subscriptions","organizations_url":"https://api.github.com/users/miguelcleverti/orgs","repos_url":"https://api.github.com/users/miguelcleverti/repos","events_url":"https://api.github.com/users/miguelcleverti/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcleverti/received_events","type":"User","site_admin":false},"body":"Using XPath to fetch the elements from the page improves stability of the tests.\r\nBefore CSS selectors were being used to fetch the all elements with a given class and then they were iterated until we found the element with the right Text value, since most elements are identified by their Text contents.\r\nXPath give us the possibility to fetch an element directly by its Text so the time frame in which problems can occur is smaller making the tests more stable, reducing the Selenium [Stale Element Reference Exception](http://docs.seleniumhq.org/exceptions/stale_element_reference.jsp)","created_at":"2016-06-15T10:30:54Z","updated_at":"2016-06-15T10:30:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/615/commits","review_comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/615/comments","review_comment_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/615/comments","statuses_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/c92c304d6c6bd80cce03af8d6c47bd0a123955af","head":{"label":"miguelcleverti:xpathGetElement","ref":"xpathGetElement","sha":"c92c304d6c6bd80cce03af8d6c47bd0a123955af","user":{"login":"miguelcleverti","id":8983122,"avatar_url":"https://avatars.githubusercontent.com/u/8983122?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcleverti","html_url":"https://github.com/miguelcleverti","followers_url":"https://api.github.com/users/miguelcleverti/followers","following_url":"https://api.github.com/users/miguelcleverti/following{/other_user}","gists_url":"https://api.github.com/users/miguelcleverti/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcleverti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcleverti/subscriptions","organizations_url":"https://api.github.com/users/miguelcleverti/orgs","repos_url":"https://api.github.com/users/miguelcleverti/repos","events_url":"https://api.github.com/users/miguelcleverti/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcleverti/received_events","type":"User","site_admin":false},"repo":{"id":31549077,"name":"PlatformUIBundle","full_name":"miguelcleverti/PlatformUIBundle","owner":{"login":"miguelcleverti","id":8983122,"avatar_url":"https://avatars.githubusercontent.com/u/8983122?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcleverti","html_url":"https://github.com/miguelcleverti","followers_url":"https://api.github.com/users/miguelcleverti/followers","following_url":"https://api.github.com/users/miguelcleverti/following{/other_user}","gists_url":"https://api.github.com/users/miguelcleverti/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcleverti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcleverti/subscriptions","organizations_url":"https://api.github.com/users/miguelcleverti/orgs","repos_url":"https://api.github.com/users/miguelcleverti/repos","events_url":"https://api.github.com/users/miguelcleverti/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcleverti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miguelcleverti/PlatformUIBundle","description":"","fork":true,"url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle","forks_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/forks","keys_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/teams","hooks_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/hooks","issue_events_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/issues/events{/number}","events_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/events","assignees_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/assignees{/user}","branches_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/branches{/branch}","tags_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/tags","blobs_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/languages","stargazers_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/stargazers","contributors_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/contributors","subscribers_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/subscribers","subscription_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/subscription","commits_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/contents/{+path}","compare_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/merges","archive_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/downloads","issues_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/issues{/number}","pulls_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/labels{/name}","releases_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/releases{/id}","deployments_url":"https://api.github.com/repos/miguelcleverti/PlatformUIBundle/deployments","created_at":"2015-03-02T16:12:14Z","updated_at":"2016-01-18T11:33:08Z","pushed_at":"2016-06-15T10:21:07Z","git_url":"git://github.com/miguelcleverti/PlatformUIBundle.git","ssh_url":"git@github.com:miguelcleverti/PlatformUIBundle.git","clone_url":"https://github.com/miguelcleverti/PlatformUIBundle.git","svn_url":"https://github.com/miguelcleverti/PlatformUIBundle","homepage":null,"size":5416,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"3075dfbc3f954bc1da49535c7a52a2b3ba6b46d5","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":11221607,"name":"PlatformUIBundle","full_name":"ezsystems/PlatformUIBundle","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/PlatformUIBundle","description":"Main Bundle to provide editorial/admin UI for eZ Platform","fork":false,"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle","forks_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/forks","keys_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/teams","hooks_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/events","assignees_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/tags","blobs_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/languages","stargazers_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/subscription","commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/merges","archive_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/downloads","issues_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/deployments","created_at":"2013-07-06T17:21:40Z","updated_at":"2016-05-09T21:15:01Z","pushed_at":"2016-06-15T10:30:54Z","git_url":"git://github.com/ezsystems/PlatformUIBundle.git","ssh_url":"git@github.com:ezsystems/PlatformUIBundle.git","clone_url":"https://github.com/ezsystems/PlatformUIBundle.git","svn_url":"https://github.com/ezsystems/PlatformUIBundle","homepage":"http://ezplatform.com/","size":6935,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":24,"forks":30,"open_issues":24,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/615"},"html":{"href":"https://github.com/ezsystems/PlatformUIBundle/pull/615"},"issue":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/615"},"comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/615/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/615/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/615/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/c92c304d6c6bd80cce03af8d6c47bd0a123955af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":105,"deletions":134,"changed_files":5}}
{"actor":{"display_login":"miguelcleverti"}}