{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/2","id":84793213,"html_url":"https://github.com/deors/deors.demos.petclinic/pull/2","diff_url":"https://github.com/deors/deors.demos.petclinic/pull/2.diff","patch_url":"https://github.com/deors/deors.demos.petclinic/pull/2.patch","issue_url":"https://api.github.com/repos/deors/deors.demos.petclinic/issues/2","number":2,"state":"open","locked":false,"title":"Added Selenium test scripts based on Page Object Patterns","user":{"login":"viarellano","id":3481803,"avatar_url":"https://avatars.githubusercontent.com/u/3481803?v=3","gravatar_id":"","url":"https://api.github.com/users/viarellano","html_url":"https://github.com/viarellano","followers_url":"https://api.github.com/users/viarellano/followers","following_url":"https://api.github.com/users/viarellano/following{/other_user}","gists_url":"https://api.github.com/users/viarellano/gists{/gist_id}","starred_url":"https://api.github.com/users/viarellano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viarellano/subscriptions","organizations_url":"https://api.github.com/users/viarellano/orgs","repos_url":"https://api.github.com/users/viarellano/repos","events_url":"https://api.github.com/users/viarellano/events{/privacy}","received_events_url":"https://api.github.com/users/viarellano/received_events","type":"User","site_admin":false},"body":"- I have created a set of pages for performing Selenium tests using POM pattern. They are all located under the new package `org.springframework.samples.petclinic.it.page`. One of the classes includes an example on using `PageFactory` for using POM pattern tests. \r\n\r\n- I have also added a new class with the test cases covering the same tests as the regular tests but using the POM pattern. This is the new test class `NewPetFirstVisitITPO`. This new test class extends a new `TestSetupITBase` that contains the `initEnvironment` method originally at the `NewPetFirstVisitIT` test clases that now also extends the new `TestSetupITBase`\r\n\r\n- In addition I have updated the POM configuration file by modifying the profiles sections. Current profiles runs as following:\r\n\r\n1. `selenium-tests ` the existing one that allow to perform regular selenium tests\r\n2.`selenium-tests-all` allows to run all IT tests (including regular and POM based tests)\r\n3.`selenium-tests-po` allows to run only the POM based test cases\r\n\r\n- A minor addition to that.  I have added to the POM fille that will allow to execute integration tests  by excluding surefire tests by adding the paramter `-Dskip.surefire.tests` while running maven. ","created_at":"2016-09-11T18:05:00Z","updated_at":"2016-09-11T18:05:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/2/commits","review_comments_url":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/2/comments","review_comment_url":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deors/deors.demos.petclinic/issues/2/comments","statuses_url":"https://api.github.com/repos/deors/deors.demos.petclinic/statuses/3277ddf3635a6b43f4aebcd4c9ab82297718d9f3","head":{"label":"viarellano:master","ref":"master","sha":"3277ddf3635a6b43f4aebcd4c9ab82297718d9f3","user":{"login":"viarellano","id":3481803,"avatar_url":"https://avatars.githubusercontent.com/u/3481803?v=3","gravatar_id":"","url":"https://api.github.com/users/viarellano","html_url":"https://github.com/viarellano","followers_url":"https://api.github.com/users/viarellano/followers","following_url":"https://api.github.com/users/viarellano/following{/other_user}","gists_url":"https://api.github.com/users/viarellano/gists{/gist_id}","starred_url":"https://api.github.com/users/viarellano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viarellano/subscriptions","organizations_url":"https://api.github.com/users/viarellano/orgs","repos_url":"https://api.github.com/users/viarellano/repos","events_url":"https://api.github.com/users/viarellano/events{/privacy}","received_events_url":"https://api.github.com/users/viarellano/received_events","type":"User","site_admin":false},"repo":{"id":67856277,"name":"deors.demos.petclinic","full_name":"viarellano/deors.demos.petclinic","owner":{"login":"viarellano","id":3481803,"avatar_url":"https://avatars.githubusercontent.com/u/3481803?v=3","gravatar_id":"","url":"https://api.github.com/users/viarellano","html_url":"https://github.com/viarellano","followers_url":"https://api.github.com/users/viarellano/followers","following_url":"https://api.github.com/users/viarellano/following{/other_user}","gists_url":"https://api.github.com/users/viarellano/gists{/gist_id}","starred_url":"https://api.github.com/users/viarellano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viarellano/subscriptions","organizations_url":"https://api.github.com/users/viarellano/orgs","repos_url":"https://api.github.com/users/viarellano/repos","events_url":"https://api.github.com/users/viarellano/events{/privacy}","received_events_url":"https://api.github.com/users/viarellano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/viarellano/deors.demos.petclinic","description":"The popular Spring Pet Clinic application, updated to work with Tomcat 7 and Spring 3, with an example of a multi-browser Selenium integration test, and with exemplar Maven configuration: deployment to OpenShift and Heroku, test coverage per test with SonarQube and JaCoCo, integration test coverage with SonarQube and Selenium and automated load tests with JMeter and SonarQube.","fork":true,"url":"https://api.github.com/repos/viarellano/deors.demos.petclinic","forks_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/forks","keys_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/teams","hooks_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/hooks","issue_events_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/issues/events{/number}","events_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/events","assignees_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/assignees{/user}","branches_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/branches{/branch}","tags_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/tags","blobs_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/git/refs{/sha}","trees_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/statuses/{sha}","languages_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/languages","stargazers_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/stargazers","contributors_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/contributors","subscribers_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/subscribers","subscription_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/subscription","commits_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/commits{/sha}","git_commits_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/git/commits{/sha}","comments_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/comments{/number}","issue_comment_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/issues/comments{/number}","contents_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/contents/{+path}","compare_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/merges","archive_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/downloads","issues_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/issues{/number}","pulls_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/pulls{/number}","milestones_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/milestones{/number}","notifications_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/labels{/name}","releases_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/releases{/id}","deployments_url":"https://api.github.com/repos/viarellano/deors.demos.petclinic/deployments","created_at":"2016-09-10T06:58:11Z","updated_at":"2016-09-10T06:58:13Z","pushed_at":"2016-09-11T17:33:09Z","git_url":"git://github.com/viarellano/deors.demos.petclinic.git","ssh_url":"git@github.com:viarellano/deors.demos.petclinic.git","clone_url":"https://github.com/viarellano/deors.demos.petclinic.git","svn_url":"https://github.com/viarellano/deors.demos.petclinic","homepage":null,"size":370,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"deors:master","ref":"master","sha":"f1caf21f093ca060e7920d38e7dec11e800e8af2","user":{"login":"deors","id":4376867,"avatar_url":"https://avatars.githubusercontent.com/u/4376867?v=3","gravatar_id":"","url":"https://api.github.com/users/deors","html_url":"https://github.com/deors","followers_url":"https://api.github.com/users/deors/followers","following_url":"https://api.github.com/users/deors/following{/other_user}","gists_url":"https://api.github.com/users/deors/gists{/gist_id}","starred_url":"https://api.github.com/users/deors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deors/subscriptions","organizations_url":"https://api.github.com/users/deors/orgs","repos_url":"https://api.github.com/users/deors/repos","events_url":"https://api.github.com/users/deors/events{/privacy}","received_events_url":"https://api.github.com/users/deors/received_events","type":"User","site_admin":false},"repo":{"id":19252941,"name":"deors.demos.petclinic","full_name":"deors/deors.demos.petclinic","owner":{"login":"deors","id":4376867,"avatar_url":"https://avatars.githubusercontent.com/u/4376867?v=3","gravatar_id":"","url":"https://api.github.com/users/deors","html_url":"https://github.com/deors","followers_url":"https://api.github.com/users/deors/followers","following_url":"https://api.github.com/users/deors/following{/other_user}","gists_url":"https://api.github.com/users/deors/gists{/gist_id}","starred_url":"https://api.github.com/users/deors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deors/subscriptions","organizations_url":"https://api.github.com/users/deors/orgs","repos_url":"https://api.github.com/users/deors/repos","events_url":"https://api.github.com/users/deors/events{/privacy}","received_events_url":"https://api.github.com/users/deors/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deors/deors.demos.petclinic","description":"The popular Spring Pet Clinic application, updated to work with Tomcat 7 and Spring 3, with an example of a multi-browser Selenium integration test, and with exemplar Maven configuration: deployment to OpenShift and Heroku, test coverage per test with SonarQube and JaCoCo, integration test coverage with SonarQube and Selenium and automated load tests with JMeter and SonarQube.","fork":false,"url":"https://api.github.com/repos/deors/deors.demos.petclinic","forks_url":"https://api.github.com/repos/deors/deors.demos.petclinic/forks","keys_url":"https://api.github.com/repos/deors/deors.demos.petclinic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deors/deors.demos.petclinic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deors/deors.demos.petclinic/teams","hooks_url":"https://api.github.com/repos/deors/deors.demos.petclinic/hooks","issue_events_url":"https://api.github.com/repos/deors/deors.demos.petclinic/issues/events{/number}","events_url":"https://api.github.com/repos/deors/deors.demos.petclinic/events","assignees_url":"https://api.github.com/repos/deors/deors.demos.petclinic/assignees{/user}","branches_url":"https://api.github.com/repos/deors/deors.demos.petclinic/branches{/branch}","tags_url":"https://api.github.com/repos/deors/deors.demos.petclinic/tags","blobs_url":"https://api.github.com/repos/deors/deors.demos.petclinic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deors/deors.demos.petclinic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deors/deors.demos.petclinic/git/refs{/sha}","trees_url":"https://api.github.com/repos/deors/deors.demos.petclinic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deors/deors.demos.petclinic/statuses/{sha}","languages_url":"https://api.github.com/repos/deors/deors.demos.petclinic/languages","stargazers_url":"https://api.github.com/repos/deors/deors.demos.petclinic/stargazers","contributors_url":"https://api.github.com/repos/deors/deors.demos.petclinic/contributors","subscribers_url":"https://api.github.com/repos/deors/deors.demos.petclinic/subscribers","subscription_url":"https://api.github.com/repos/deors/deors.demos.petclinic/subscription","commits_url":"https://api.github.com/repos/deors/deors.demos.petclinic/commits{/sha}","git_commits_url":"https://api.github.com/repos/deors/deors.demos.petclinic/git/commits{/sha}","comments_url":"https://api.github.com/repos/deors/deors.demos.petclinic/comments{/number}","issue_comment_url":"https://api.github.com/repos/deors/deors.demos.petclinic/issues/comments{/number}","contents_url":"https://api.github.com/repos/deors/deors.demos.petclinic/contents/{+path}","compare_url":"https://api.github.com/repos/deors/deors.demos.petclinic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deors/deors.demos.petclinic/merges","archive_url":"https://api.github.com/repos/deors/deors.demos.petclinic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deors/deors.demos.petclinic/downloads","issues_url":"https://api.github.com/repos/deors/deors.demos.petclinic/issues{/number}","pulls_url":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls{/number}","milestones_url":"https://api.github.com/repos/deors/deors.demos.petclinic/milestones{/number}","notifications_url":"https://api.github.com/repos/deors/deors.demos.petclinic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deors/deors.demos.petclinic/labels{/name}","releases_url":"https://api.github.com/repos/deors/deors.demos.petclinic/releases{/id}","deployments_url":"https://api.github.com/repos/deors/deors.demos.petclinic/deployments","created_at":"2014-04-28T20:31:56Z","updated_at":"2016-02-09T20:12:19Z","pushed_at":"2016-09-11T18:05:00Z","git_url":"git://github.com/deors/deors.demos.petclinic.git","ssh_url":"git@github.com:deors/deors.demos.petclinic.git","clone_url":"https://github.com/deors/deors.demos.petclinic.git","svn_url":"https://github.com/deors/deors.demos.petclinic","homepage":null,"size":419,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/2"},"html":{"href":"https://github.com/deors/deors.demos.petclinic/pull/2"},"issue":{"href":"https://api.github.com/repos/deors/deors.demos.petclinic/issues/2"},"comments":{"href":"https://api.github.com/repos/deors/deors.demos.petclinic/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deors/deors.demos.petclinic/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/deors/deors.demos.petclinic/statuses/3277ddf3635a6b43f4aebcd4c9ab82297718d9f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":1939,"deletions":889,"changed_files":10}}
{"actor":{"display_login":"viarellano"}}