{"action":"created","comment":{"url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/comments/224025267","pull_request_review_id":163290641,"id":224025267,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDAyNTI2Nw==","diff_hunk":"@@ -201,4 +202,64 @@ protected function getLanguageIdByName(string $name): string {\n     throw new \\InvalidArgumentException(\"Language '{$name}' not found.\");\n   }\n \n+  /**\n+   * Redirect user on Node creation page.\n+   *\n+   * @param string $content_type_name\n+   *   Content type name.\n+   *\n+   * @Given I am visiting the :content_type_name create node page\n+   */\n+  public function iAmVisitingTheCreateNodePage(string $content_type_name): void {\n+    $node_bundle = $this->getEntityTypeByLabel($content_type_name);\n+    $this->visitPath('node/add/' . $node_bundle);\n+  }\n+\n+  /**\n+   * Check that selectbox with node language selector is hidden.\n+   *\n+   * @param string $label\n+   *   Label of selectbox.\n+   *\n+   * @Then I should not see selectbox with label :label\n+   */\n+  public function iShouldNotSeeSelectboxWithLabel(string $label): void {","path":"tests/Behat/DrupalContext.php","position":33,"original_position":33,"commit_id":"983b98cd65c5cfb9e7729a71b89bc057a9d867ef","original_commit_id":"983b98cd65c5cfb9e7729a71b89bc057a9d867ef","user":{"login":"imanoleguskiza","id":14978592,"node_id":"MDQ6VXNlcjE0OTc4NTky","avatar_url":"https://avatars0.githubusercontent.com/u/14978592?v=4","gravatar_id":"","url":"https://api.github.com/users/imanoleguskiza","html_url":"https://github.com/imanoleguskiza","followers_url":"https://api.github.com/users/imanoleguskiza/followers","following_url":"https://api.github.com/users/imanoleguskiza/following{/other_user}","gists_url":"https://api.github.com/users/imanoleguskiza/gists{/gist_id}","starred_url":"https://api.github.com/users/imanoleguskiza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanoleguskiza/subscriptions","organizations_url":"https://api.github.com/users/imanoleguskiza/orgs","repos_url":"https://api.github.com/users/imanoleguskiza/repos","events_url":"https://api.github.com/users/imanoleguskiza/events{/privacy}","received_events_url":"https://api.github.com/users/imanoleguskiza/received_events","type":"User","site_admin":false},"body":"The name of the method (and the step) is misleading, we are not checking for selectboxes but rather for a field. We should either rename the function (and the step) or make it so that it only checks for selectboxes","created_at":"2018-10-10T10:44:31Z","updated_at":"2018-10-10T10:50:06Z","html_url":"https://github.com/openeuropa/oe_multilingual/pull/29#discussion_r224025267","pull_request_url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/comments/224025267"},"html":{"href":"https://github.com/openeuropa/oe_multilingual/pull/29#discussion_r224025267"},"pull_request":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29","id":220734274,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNzM0Mjc0","html_url":"https://github.com/openeuropa/oe_multilingual/pull/29","diff_url":"https://github.com/openeuropa/oe_multilingual/pull/29.diff","patch_url":"https://github.com/openeuropa/oe_multilingual/pull/29.patch","issue_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/29","number":29,"state":"open","locked":false,"title":"OPENEUROPA-660: Make it impossible for a content editor to create an initial version of a content in any language other than the default language","user":{"login":"sergepavle","id":9432036,"node_id":"MDQ6VXNlcjk0MzIwMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/9432036?v=4","gravatar_id":"","url":"https://api.github.com/users/sergepavle","html_url":"https://github.com/sergepavle","followers_url":"https://api.github.com/users/sergepavle/followers","following_url":"https://api.github.com/users/sergepavle/following{/other_user}","gists_url":"https://api.github.com/users/sergepavle/gists{/gist_id}","starred_url":"https://api.github.com/users/sergepavle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergepavle/subscriptions","organizations_url":"https://api.github.com/users/sergepavle/orgs","repos_url":"https://api.github.com/users/sergepavle/repos","events_url":"https://api.github.com/users/sergepavle/events{/privacy}","received_events_url":"https://api.github.com/users/sergepavle/received_events","type":"User","site_admin":false},"body":"## OPENEUROPA-660\r\n\r\n### Description\r\n\r\n\r\nOur content translation strategy requires every piece of content to be first created in the site's default language (which will in most cases be English, but there might be exceptions). Once the English version has been created any desired translations can then be added.\r\n\r\nWe should make it impossible for a content editor to create an initial version of a content in any language other than the default language.\r\n\r\nmodule: \"oe_multilingual\"\r\n\r\n### Change log\r\n\r\n- Added:\r\n- Changed: \r\n- Deprecated:\r\n- Removed:\r\n- Fixed:\r\n- Security:\r\n\r\n","created_at":"2018-10-05T15:09:25Z","updated_at":"2018-10-10T10:50:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"887e9cc5999e2b1ade2a911eb0c2b5c2048dcc58","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29/commits","review_comments_url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29/comments","review_comment_url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/29/comments","statuses_url":"https://api.github.com/repos/openeuropa/oe_multilingual/statuses/983b98cd65c5cfb9e7729a71b89bc057a9d867ef","head":{"label":"openeuropa:OPENEUROPA-660","ref":"OPENEUROPA-660","sha":"983b98cd65c5cfb9e7729a71b89bc057a9d867ef","user":{"login":"openeuropa","id":35874187,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1ODc0MTg3","avatar_url":"https://avatars0.githubusercontent.com/u/35874187?v=4","gravatar_id":"","url":"https://api.github.com/users/openeuropa","html_url":"https://github.com/openeuropa","followers_url":"https://api.github.com/users/openeuropa/followers","following_url":"https://api.github.com/users/openeuropa/following{/other_user}","gists_url":"https://api.github.com/users/openeuropa/gists{/gist_id}","starred_url":"https://api.github.com/users/openeuropa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openeuropa/subscriptions","organizations_url":"https://api.github.com/users/openeuropa/orgs","repos_url":"https://api.github.com/users/openeuropa/repos","events_url":"https://api.github.com/users/openeuropa/events{/privacy}","received_events_url":"https://api.github.com/users/openeuropa/received_events","type":"Organization","site_admin":false},"repo":{"id":131181784,"node_id":"MDEwOlJlcG9zaXRvcnkxMzExODE3ODQ=","name":"oe_multilingual","full_name":"openeuropa/oe_multilingual","private":false,"owner":{"login":"openeuropa","id":35874187,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1ODc0MTg3","avatar_url":"https://avatars0.githubusercontent.com/u/35874187?v=4","gravatar_id":"","url":"https://api.github.com/users/openeuropa","html_url":"https://github.com/openeuropa","followers_url":"https://api.github.com/users/openeuropa/followers","following_url":"https://api.github.com/users/openeuropa/following{/other_user}","gists_url":"https://api.github.com/users/openeuropa/gists{/gist_id}","starred_url":"https://api.github.com/users/openeuropa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openeuropa/subscriptions","organizations_url":"https://api.github.com/users/openeuropa/orgs","repos_url":"https://api.github.com/users/openeuropa/repos","events_url":"https://api.github.com/users/openeuropa/events{/privacy}","received_events_url":"https://api.github.com/users/openeuropa/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openeuropa/oe_multilingual","description":"OpenEuropa Multilingual module.","fork":false,"url":"https://api.github.com/repos/openeuropa/oe_multilingual","forks_url":"https://api.github.com/repos/openeuropa/oe_multilingual/forks","keys_url":"https://api.github.com/repos/openeuropa/oe_multilingual/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openeuropa/oe_multilingual/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openeuropa/oe_multilingual/teams","hooks_url":"https://api.github.com/repos/openeuropa/oe_multilingual/hooks","issue_events_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/events{/number}","events_url":"https://api.github.com/repos/openeuropa/oe_multilingual/events","assignees_url":"https://api.github.com/repos/openeuropa/oe_multilingual/assignees{/user}","branches_url":"https://api.github.com/repos/openeuropa/oe_multilingual/branches{/branch}","tags_url":"https://api.github.com/repos/openeuropa/oe_multilingual/tags","blobs_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/refs{/sha}","trees_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openeuropa/oe_multilingual/statuses/{sha}","languages_url":"https://api.github.com/repos/openeuropa/oe_multilingual/languages","stargazers_url":"https://api.github.com/repos/openeuropa/oe_multilingual/stargazers","contributors_url":"https://api.github.com/repos/openeuropa/oe_multilingual/contributors","subscribers_url":"https://api.github.com/repos/openeuropa/oe_multilingual/subscribers","subscription_url":"https://api.github.com/repos/openeuropa/oe_multilingual/subscription","commits_url":"https://api.github.com/repos/openeuropa/oe_multilingual/commits{/sha}","git_commits_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/commits{/sha}","comments_url":"https://api.github.com/repos/openeuropa/oe_multilingual/comments{/number}","issue_comment_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/comments{/number}","contents_url":"https://api.github.com/repos/openeuropa/oe_multilingual/contents/{+path}","compare_url":"https://api.github.com/repos/openeuropa/oe_multilingual/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openeuropa/oe_multilingual/merges","archive_url":"https://api.github.com/repos/openeuropa/oe_multilingual/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openeuropa/oe_multilingual/downloads","issues_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues{/number}","pulls_url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls{/number}","milestones_url":"https://api.github.com/repos/openeuropa/oe_multilingual/milestones{/number}","notifications_url":"https://api.github.com/repos/openeuropa/oe_multilingual/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openeuropa/oe_multilingual/labels{/name}","releases_url":"https://api.github.com/repos/openeuropa/oe_multilingual/releases{/id}","deployments_url":"https://api.github.com/repos/openeuropa/oe_multilingual/deployments","created_at":"2018-04-26T16:19:07Z","updated_at":"2018-09-27T12:50:16Z","pushed_at":"2018-10-09T14:51:26Z","git_url":"git://github.com/openeuropa/oe_multilingual.git","ssh_url":"git@github.com:openeuropa/oe_multilingual.git","clone_url":"https://github.com/openeuropa/oe_multilingual.git","svn_url":"https://github.com/openeuropa/oe_multilingual","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"openeuropa:master","ref":"master","sha":"895da838b9c974db596ee5fc23430ebc9fd42452","user":{"login":"openeuropa","id":35874187,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1ODc0MTg3","avatar_url":"https://avatars0.githubusercontent.com/u/35874187?v=4","gravatar_id":"","url":"https://api.github.com/users/openeuropa","html_url":"https://github.com/openeuropa","followers_url":"https://api.github.com/users/openeuropa/followers","following_url":"https://api.github.com/users/openeuropa/following{/other_user}","gists_url":"https://api.github.com/users/openeuropa/gists{/gist_id}","starred_url":"https://api.github.com/users/openeuropa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openeuropa/subscriptions","organizations_url":"https://api.github.com/users/openeuropa/orgs","repos_url":"https://api.github.com/users/openeuropa/repos","events_url":"https://api.github.com/users/openeuropa/events{/privacy}","received_events_url":"https://api.github.com/users/openeuropa/received_events","type":"Organization","site_admin":false},"repo":{"id":131181784,"node_id":"MDEwOlJlcG9zaXRvcnkxMzExODE3ODQ=","name":"oe_multilingual","full_name":"openeuropa/oe_multilingual","private":false,"owner":{"login":"openeuropa","id":35874187,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1ODc0MTg3","avatar_url":"https://avatars0.githubusercontent.com/u/35874187?v=4","gravatar_id":"","url":"https://api.github.com/users/openeuropa","html_url":"https://github.com/openeuropa","followers_url":"https://api.github.com/users/openeuropa/followers","following_url":"https://api.github.com/users/openeuropa/following{/other_user}","gists_url":"https://api.github.com/users/openeuropa/gists{/gist_id}","starred_url":"https://api.github.com/users/openeuropa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openeuropa/subscriptions","organizations_url":"https://api.github.com/users/openeuropa/orgs","repos_url":"https://api.github.com/users/openeuropa/repos","events_url":"https://api.github.com/users/openeuropa/events{/privacy}","received_events_url":"https://api.github.com/users/openeuropa/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openeuropa/oe_multilingual","description":"OpenEuropa Multilingual module.","fork":false,"url":"https://api.github.com/repos/openeuropa/oe_multilingual","forks_url":"https://api.github.com/repos/openeuropa/oe_multilingual/forks","keys_url":"https://api.github.com/repos/openeuropa/oe_multilingual/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openeuropa/oe_multilingual/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openeuropa/oe_multilingual/teams","hooks_url":"https://api.github.com/repos/openeuropa/oe_multilingual/hooks","issue_events_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/events{/number}","events_url":"https://api.github.com/repos/openeuropa/oe_multilingual/events","assignees_url":"https://api.github.com/repos/openeuropa/oe_multilingual/assignees{/user}","branches_url":"https://api.github.com/repos/openeuropa/oe_multilingual/branches{/branch}","tags_url":"https://api.github.com/repos/openeuropa/oe_multilingual/tags","blobs_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/refs{/sha}","trees_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openeuropa/oe_multilingual/statuses/{sha}","languages_url":"https://api.github.com/repos/openeuropa/oe_multilingual/languages","stargazers_url":"https://api.github.com/repos/openeuropa/oe_multilingual/stargazers","contributors_url":"https://api.github.com/repos/openeuropa/oe_multilingual/contributors","subscribers_url":"https://api.github.com/repos/openeuropa/oe_multilingual/subscribers","subscription_url":"https://api.github.com/repos/openeuropa/oe_multilingual/subscription","commits_url":"https://api.github.com/repos/openeuropa/oe_multilingual/commits{/sha}","git_commits_url":"https://api.github.com/repos/openeuropa/oe_multilingual/git/commits{/sha}","comments_url":"https://api.github.com/repos/openeuropa/oe_multilingual/comments{/number}","issue_comment_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/comments{/number}","contents_url":"https://api.github.com/repos/openeuropa/oe_multilingual/contents/{+path}","compare_url":"https://api.github.com/repos/openeuropa/oe_multilingual/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openeuropa/oe_multilingual/merges","archive_url":"https://api.github.com/repos/openeuropa/oe_multilingual/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openeuropa/oe_multilingual/downloads","issues_url":"https://api.github.com/repos/openeuropa/oe_multilingual/issues{/number}","pulls_url":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls{/number}","milestones_url":"https://api.github.com/repos/openeuropa/oe_multilingual/milestones{/number}","notifications_url":"https://api.github.com/repos/openeuropa/oe_multilingual/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openeuropa/oe_multilingual/labels{/name}","releases_url":"https://api.github.com/repos/openeuropa/oe_multilingual/releases{/id}","deployments_url":"https://api.github.com/repos/openeuropa/oe_multilingual/deployments","created_at":"2018-04-26T16:19:07Z","updated_at":"2018-09-27T12:50:16Z","pushed_at":"2018-10-09T14:51:26Z","git_url":"git://github.com/openeuropa/oe_multilingual.git","ssh_url":"git@github.com:openeuropa/oe_multilingual.git","clone_url":"https://github.com/openeuropa/oe_multilingual.git","svn_url":"https://github.com/openeuropa/oe_multilingual","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29"},"html":{"href":"https://github.com/openeuropa/oe_multilingual/pull/29"},"issue":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/29"},"comments":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/openeuropa/oe_multilingual/statuses/983b98cd65c5cfb9e7729a71b89bc057a9d867ef"}},"author_association":"NONE"}}
{"actor":{"display_login":"imanoleguskiza"}}