{"action":"created","comment":{"url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/comments/63171314","id":63171314,"diff_hunk":"@@ -2,10 +2,138 @@ class ClassRoomsPage\n   include PageObject\n   include Logging\n \n+  text_field(:classrooms_name, :class => 'ng-pristine ng-untouched ng-valid ng-empty')\n+  div(:course_language, :class => 'classrooms-create')\n+  button(:submit, :type=> 'submit')\n+  button(:cancel, :class=> 'btn btn--primary')\n+\n+  $new_classrooms_created =''\n+  $classrooms_course =''\n+\n   def verify_busuu_pro_classrooms_tab\n+    @browser.div(:class=>\"classrooms-create\").wait_until_present(90)\n     verify_field_displayed \"Default Title\", @browser.h1(:class=>\"main-title\").text == \"busuu PRO Classrooms\"\n     verify_field_displayed \"Create Classrooms button\", @browser.div(:class=>\"classrooms-create\").button.visible?\n   end\n \n+  def generate_classroom_name\n+    classroom_name = nil\n+    classroom_name ||= \"TestAutomation\" + rand(99999..999999).to_s","path":"features/support/pages/Classrooms_Page.rb","position":null,"original_position":20,"commit_id":"1f5b00adcec7cf8564fb150220c57254d79c40d9","original_commit_id":"94092ebe0668d5b7bdd05b903ec25df362ab5434","user":{"login":"despiritosanto","id":15891381,"avatar_url":"https://avatars.githubusercontent.com/u/15891381?v=3","gravatar_id":"","url":"https://api.github.com/users/despiritosanto","html_url":"https://github.com/despiritosanto","followers_url":"https://api.github.com/users/despiritosanto/followers","following_url":"https://api.github.com/users/despiritosanto/following{/other_user}","gists_url":"https://api.github.com/users/despiritosanto/gists{/gist_id}","starred_url":"https://api.github.com/users/despiritosanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/despiritosanto/subscriptions","organizations_url":"https://api.github.com/users/despiritosanto/orgs","repos_url":"https://api.github.com/users/despiritosanto/repos","events_url":"https://api.github.com/users/despiritosanto/events{/privacy}","received_events_url":"https://api.github.com/users/despiritosanto/received_events","type":"User","site_admin":false},"body":"As I told you, thi commit you've seen is very old, I already have a generic function to generate names :)","created_at":"2016-05-13T11:56:42Z","updated_at":"2016-05-13T11:56:42Z","html_url":"https://github.com/Busuu/QA_Busuu/pull/5#discussion_r63171314","pull_request_url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/comments/63171314"},"html":{"href":"https://github.com/Busuu/QA_Busuu/pull/5#discussion_r63171314"},"pull_request":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5","id":69115197,"html_url":"https://github.com/Busuu/QA_Busuu/pull/5","diff_url":"https://github.com/Busuu/QA_Busuu/pull/5.diff","patch_url":"https://github.com/Busuu/QA_Busuu/pull/5.patch","issue_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues/5","number":5,"state":"open","locked":false,"title":"Wsb 592 classrooms tab","user":{"login":"despiritosanto","id":15891381,"avatar_url":"https://avatars.githubusercontent.com/u/15891381?v=3","gravatar_id":"","url":"https://api.github.com/users/despiritosanto","html_url":"https://github.com/despiritosanto","followers_url":"https://api.github.com/users/despiritosanto/followers","following_url":"https://api.github.com/users/despiritosanto/following{/other_user}","gists_url":"https://api.github.com/users/despiritosanto/gists{/gist_id}","starred_url":"https://api.github.com/users/despiritosanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/despiritosanto/subscriptions","organizations_url":"https://api.github.com/users/despiritosanto/orgs","repos_url":"https://api.github.com/users/despiritosanto/repos","events_url":"https://api.github.com/users/despiritosanto/events{/privacy}","received_events_url":"https://api.github.com/users/despiritosanto/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-06T07:36:52Z","updated_at":"2016-05-13T11:56:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8d6f9db6f13b1ed0077af7f1063f79bb79a6eb8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues/5/comments","statuses_url":"https://api.github.com/repos/Busuu/QA_Busuu/statuses/1f5b00adcec7cf8564fb150220c57254d79c40d9","head":{"label":"Busuu:WSB-592-ClassroomsTab","ref":"WSB-592-ClassroomsTab","sha":"1f5b00adcec7cf8564fb150220c57254d79c40d9","user":{"login":"Busuu","id":556384,"avatar_url":"https://avatars.githubusercontent.com/u/556384?v=3","gravatar_id":"","url":"https://api.github.com/users/Busuu","html_url":"https://github.com/Busuu","followers_url":"https://api.github.com/users/Busuu/followers","following_url":"https://api.github.com/users/Busuu/following{/other_user}","gists_url":"https://api.github.com/users/Busuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Busuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Busuu/subscriptions","organizations_url":"https://api.github.com/users/Busuu/orgs","repos_url":"https://api.github.com/users/Busuu/repos","events_url":"https://api.github.com/users/Busuu/events{/privacy}","received_events_url":"https://api.github.com/users/Busuu/received_events","type":"Organization","site_admin":false},"repo":{"id":34780548,"name":"QA_Busuu","full_name":"Busuu/QA_Busuu","owner":{"login":"Busuu","id":556384,"avatar_url":"https://avatars.githubusercontent.com/u/556384?v=3","gravatar_id":"","url":"https://api.github.com/users/Busuu","html_url":"https://github.com/Busuu","followers_url":"https://api.github.com/users/Busuu/followers","following_url":"https://api.github.com/users/Busuu/following{/other_user}","gists_url":"https://api.github.com/users/Busuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Busuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Busuu/subscriptions","organizations_url":"https://api.github.com/users/Busuu/orgs","repos_url":"https://api.github.com/users/Busuu/repos","events_url":"https://api.github.com/users/Busuu/events{/privacy}","received_events_url":"https://api.github.com/users/Busuu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Busuu/QA_Busuu","description":"Automation of functional test. (Cucumber + Ruby + Watir)","fork":false,"url":"https://api.github.com/repos/Busuu/QA_Busuu","forks_url":"https://api.github.com/repos/Busuu/QA_Busuu/forks","keys_url":"https://api.github.com/repos/Busuu/QA_Busuu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Busuu/QA_Busuu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Busuu/QA_Busuu/teams","hooks_url":"https://api.github.com/repos/Busuu/QA_Busuu/hooks","issue_events_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues/events{/number}","events_url":"https://api.github.com/repos/Busuu/QA_Busuu/events","assignees_url":"https://api.github.com/repos/Busuu/QA_Busuu/assignees{/user}","branches_url":"https://api.github.com/repos/Busuu/QA_Busuu/branches{/branch}","tags_url":"https://api.github.com/repos/Busuu/QA_Busuu/tags","blobs_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/refs{/sha}","trees_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Busuu/QA_Busuu/statuses/{sha}","languages_url":"https://api.github.com/repos/Busuu/QA_Busuu/languages","stargazers_url":"https://api.github.com/repos/Busuu/QA_Busuu/stargazers","contributors_url":"https://api.github.com/repos/Busuu/QA_Busuu/contributors","subscribers_url":"https://api.github.com/repos/Busuu/QA_Busuu/subscribers","subscription_url":"https://api.github.com/repos/Busuu/QA_Busuu/subscription","commits_url":"https://api.github.com/repos/Busuu/QA_Busuu/commits{/sha}","git_commits_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/commits{/sha}","comments_url":"https://api.github.com/repos/Busuu/QA_Busuu/comments{/number}","issue_comment_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues/comments{/number}","contents_url":"https://api.github.com/repos/Busuu/QA_Busuu/contents/{+path}","compare_url":"https://api.github.com/repos/Busuu/QA_Busuu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Busuu/QA_Busuu/merges","archive_url":"https://api.github.com/repos/Busuu/QA_Busuu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Busuu/QA_Busuu/downloads","issues_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues{/number}","pulls_url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls{/number}","milestones_url":"https://api.github.com/repos/Busuu/QA_Busuu/milestones{/number}","notifications_url":"https://api.github.com/repos/Busuu/QA_Busuu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Busuu/QA_Busuu/labels{/name}","releases_url":"https://api.github.com/repos/Busuu/QA_Busuu/releases{/id}","deployments_url":"https://api.github.com/repos/Busuu/QA_Busuu/deployments","created_at":"2015-04-29T08:03:54Z","updated_at":"2016-03-31T14:28:26Z","pushed_at":"2016-05-13T10:28:41Z","git_url":"git://github.com/Busuu/QA_Busuu.git","ssh_url":"git@github.com:Busuu/QA_Busuu.git","clone_url":"https://github.com/Busuu/QA_Busuu.git","svn_url":"https://github.com/Busuu/QA_Busuu","homepage":null,"size":1231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Busuu:master","ref":"master","sha":"92bc0271d948f40dd23a08699bd58579590b50dc","user":{"login":"Busuu","id":556384,"avatar_url":"https://avatars.githubusercontent.com/u/556384?v=3","gravatar_id":"","url":"https://api.github.com/users/Busuu","html_url":"https://github.com/Busuu","followers_url":"https://api.github.com/users/Busuu/followers","following_url":"https://api.github.com/users/Busuu/following{/other_user}","gists_url":"https://api.github.com/users/Busuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Busuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Busuu/subscriptions","organizations_url":"https://api.github.com/users/Busuu/orgs","repos_url":"https://api.github.com/users/Busuu/repos","events_url":"https://api.github.com/users/Busuu/events{/privacy}","received_events_url":"https://api.github.com/users/Busuu/received_events","type":"Organization","site_admin":false},"repo":{"id":34780548,"name":"QA_Busuu","full_name":"Busuu/QA_Busuu","owner":{"login":"Busuu","id":556384,"avatar_url":"https://avatars.githubusercontent.com/u/556384?v=3","gravatar_id":"","url":"https://api.github.com/users/Busuu","html_url":"https://github.com/Busuu","followers_url":"https://api.github.com/users/Busuu/followers","following_url":"https://api.github.com/users/Busuu/following{/other_user}","gists_url":"https://api.github.com/users/Busuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Busuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Busuu/subscriptions","organizations_url":"https://api.github.com/users/Busuu/orgs","repos_url":"https://api.github.com/users/Busuu/repos","events_url":"https://api.github.com/users/Busuu/events{/privacy}","received_events_url":"https://api.github.com/users/Busuu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Busuu/QA_Busuu","description":"Automation of functional test. (Cucumber + Ruby + Watir)","fork":false,"url":"https://api.github.com/repos/Busuu/QA_Busuu","forks_url":"https://api.github.com/repos/Busuu/QA_Busuu/forks","keys_url":"https://api.github.com/repos/Busuu/QA_Busuu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Busuu/QA_Busuu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Busuu/QA_Busuu/teams","hooks_url":"https://api.github.com/repos/Busuu/QA_Busuu/hooks","issue_events_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues/events{/number}","events_url":"https://api.github.com/repos/Busuu/QA_Busuu/events","assignees_url":"https://api.github.com/repos/Busuu/QA_Busuu/assignees{/user}","branches_url":"https://api.github.com/repos/Busuu/QA_Busuu/branches{/branch}","tags_url":"https://api.github.com/repos/Busuu/QA_Busuu/tags","blobs_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/refs{/sha}","trees_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Busuu/QA_Busuu/statuses/{sha}","languages_url":"https://api.github.com/repos/Busuu/QA_Busuu/languages","stargazers_url":"https://api.github.com/repos/Busuu/QA_Busuu/stargazers","contributors_url":"https://api.github.com/repos/Busuu/QA_Busuu/contributors","subscribers_url":"https://api.github.com/repos/Busuu/QA_Busuu/subscribers","subscription_url":"https://api.github.com/repos/Busuu/QA_Busuu/subscription","commits_url":"https://api.github.com/repos/Busuu/QA_Busuu/commits{/sha}","git_commits_url":"https://api.github.com/repos/Busuu/QA_Busuu/git/commits{/sha}","comments_url":"https://api.github.com/repos/Busuu/QA_Busuu/comments{/number}","issue_comment_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues/comments{/number}","contents_url":"https://api.github.com/repos/Busuu/QA_Busuu/contents/{+path}","compare_url":"https://api.github.com/repos/Busuu/QA_Busuu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Busuu/QA_Busuu/merges","archive_url":"https://api.github.com/repos/Busuu/QA_Busuu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Busuu/QA_Busuu/downloads","issues_url":"https://api.github.com/repos/Busuu/QA_Busuu/issues{/number}","pulls_url":"https://api.github.com/repos/Busuu/QA_Busuu/pulls{/number}","milestones_url":"https://api.github.com/repos/Busuu/QA_Busuu/milestones{/number}","notifications_url":"https://api.github.com/repos/Busuu/QA_Busuu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Busuu/QA_Busuu/labels{/name}","releases_url":"https://api.github.com/repos/Busuu/QA_Busuu/releases{/id}","deployments_url":"https://api.github.com/repos/Busuu/QA_Busuu/deployments","created_at":"2015-04-29T08:03:54Z","updated_at":"2016-03-31T14:28:26Z","pushed_at":"2016-05-13T10:28:41Z","git_url":"git://github.com/Busuu/QA_Busuu.git","ssh_url":"git@github.com:Busuu/QA_Busuu.git","clone_url":"https://github.com/Busuu/QA_Busuu.git","svn_url":"https://github.com/Busuu/QA_Busuu","homepage":null,"size":1231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5"},"html":{"href":"https://github.com/Busuu/QA_Busuu/pull/5"},"issue":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/issues/5"},"comments":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Busuu/QA_Busuu/statuses/1f5b00adcec7cf8564fb150220c57254d79c40d9"}}}}