{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments/54884690","id":54884690,"diff_hunk":"@@ -81,18 +81,26 @@ YUI.add('ez-usermenuview-tests', function (Y) {\n             var view = this.view,\n                 userMenuView = this.userMenuItemSecondView,\n                 eventName = 'logout',\n-                isEventFired = false;\n+                isEventFired = false,\n+                isAddedEventFired = false;\n \n             view.on('*:' + eventName, function () {\n                 isEventFired = true;\n             });\n \n+            userMenuView.on('addedToUserMenu', function (event) {\n+                isAddedEventFired = true;\n+\n+                Y.Assert.areSame(view, event.userMenu, 'Should send correct parameter');","path":"Tests/js/views/assets/ez-usermenuview-tests.js","position":15,"original_position":15,"commit_id":"87a814f259049f5fa3ea564627d2148d49152d6b","original_commit_id":"87a814f259049f5fa3ea564627d2148d49152d6b","user":{"login":"dpobel","id":305563,"avatar_url":"https://avatars.githubusercontent.com/u/305563?v=3","gravatar_id":"","url":"https://api.github.com/users/dpobel","html_url":"https://github.com/dpobel","followers_url":"https://api.github.com/users/dpobel/followers","following_url":"https://api.github.com/users/dpobel/following{/other_user}","gists_url":"https://api.github.com/users/dpobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dpobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpobel/subscriptions","organizations_url":"https://api.github.com/users/dpobel/orgs","repos_url":"https://api.github.com/users/dpobel/repos","events_url":"https://api.github.com/users/dpobel/events{/privacy}","received_events_url":"https://api.github.com/users/dpobel/received_events","type":"User","site_admin":false},"body":"The error message is not precise enough. imagine if the test is failing in 6 months, what does *correct parameter* mean? The message should be something like *The user menu view should be available in the event parameters*.","created_at":"2016-03-03T14:17:53Z","updated_at":"2016-03-03T14:17:53Z","html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/522#discussion_r54884690","pull_request_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments/54884690"},"html":{"href":"https://github.com/ezsystems/PlatformUIBundle/pull/522#discussion_r54884690"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522","id":61553955,"html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/522","diff_url":"https://github.com/ezsystems/PlatformUIBundle/pull/522.diff","patch_url":"https://github.com/ezsystems/PlatformUIBundle/pull/522.patch","issue_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/522","number":522,"state":"open","locked":false,"title":"EZP-25503: The user profile menu stays after opening Notifications form","user":{"login":"dew326","id":12594013,"avatar_url":"https://avatars.githubusercontent.com/u/12594013?v=3","gravatar_id":"","url":"https://api.github.com/users/dew326","html_url":"https://github.com/dew326","followers_url":"https://api.github.com/users/dew326/followers","following_url":"https://api.github.com/users/dew326/following{/other_user}","gists_url":"https://api.github.com/users/dew326/gists{/gist_id}","starred_url":"https://api.github.com/users/dew326/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dew326/subscriptions","organizations_url":"https://api.github.com/users/dew326/orgs","repos_url":"https://api.github.com/users/dew326/repos","events_url":"https://api.github.com/users/dew326/events{/privacy}","received_events_url":"https://api.github.com/users/dew326/received_events","type":"User","site_admin":false},"body":"**Jira ticket:** https://jira.ez.no/browse/EZP-25503\r\n\r\n\r\n- [x] hide user menu when menu item has been clicked\r\n- [x] JS Unit Tests updated","created_at":"2016-03-03T12:46:14Z","updated_at":"2016-03-03T14:17:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"158ba712496547ad83894245aacf0bf6183887f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522/commits","review_comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522/comments","review_comment_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/522/comments","statuses_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/87a814f259049f5fa3ea564627d2148d49152d6b","head":{"label":"dew326:ezp-25503-user-menu-stays-open","ref":"ezp-25503-user-menu-stays-open","sha":"87a814f259049f5fa3ea564627d2148d49152d6b","user":{"login":"dew326","id":12594013,"avatar_url":"https://avatars.githubusercontent.com/u/12594013?v=3","gravatar_id":"","url":"https://api.github.com/users/dew326","html_url":"https://github.com/dew326","followers_url":"https://api.github.com/users/dew326/followers","following_url":"https://api.github.com/users/dew326/following{/other_user}","gists_url":"https://api.github.com/users/dew326/gists{/gist_id}","starred_url":"https://api.github.com/users/dew326/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dew326/subscriptions","organizations_url":"https://api.github.com/users/dew326/orgs","repos_url":"https://api.github.com/users/dew326/repos","events_url":"https://api.github.com/users/dew326/events{/privacy}","received_events_url":"https://api.github.com/users/dew326/received_events","type":"User","site_admin":false},"repo":{"id":50909054,"name":"PlatformUIBundle","full_name":"dew326/PlatformUIBundle","owner":{"login":"dew326","id":12594013,"avatar_url":"https://avatars.githubusercontent.com/u/12594013?v=3","gravatar_id":"","url":"https://api.github.com/users/dew326","html_url":"https://github.com/dew326","followers_url":"https://api.github.com/users/dew326/followers","following_url":"https://api.github.com/users/dew326/following{/other_user}","gists_url":"https://api.github.com/users/dew326/gists{/gist_id}","starred_url":"https://api.github.com/users/dew326/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dew326/subscriptions","organizations_url":"https://api.github.com/users/dew326/orgs","repos_url":"https://api.github.com/users/dew326/repos","events_url":"https://api.github.com/users/dew326/events{/privacy}","received_events_url":"https://api.github.com/users/dew326/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dew326/PlatformUIBundle","description":"Main Bundle to provide editorial/admin UI for eZ Platform","fork":true,"url":"https://api.github.com/repos/dew326/PlatformUIBundle","forks_url":"https://api.github.com/repos/dew326/PlatformUIBundle/forks","keys_url":"https://api.github.com/repos/dew326/PlatformUIBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dew326/PlatformUIBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dew326/PlatformUIBundle/teams","hooks_url":"https://api.github.com/repos/dew326/PlatformUIBundle/hooks","issue_events_url":"https://api.github.com/repos/dew326/PlatformUIBundle/issues/events{/number}","events_url":"https://api.github.com/repos/dew326/PlatformUIBundle/events","assignees_url":"https://api.github.com/repos/dew326/PlatformUIBundle/assignees{/user}","branches_url":"https://api.github.com/repos/dew326/PlatformUIBundle/branches{/branch}","tags_url":"https://api.github.com/repos/dew326/PlatformUIBundle/tags","blobs_url":"https://api.github.com/repos/dew326/PlatformUIBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dew326/PlatformUIBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dew326/PlatformUIBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/dew326/PlatformUIBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dew326/PlatformUIBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/dew326/PlatformUIBundle/languages","stargazers_url":"https://api.github.com/repos/dew326/PlatformUIBundle/stargazers","contributors_url":"https://api.github.com/repos/dew326/PlatformUIBundle/contributors","subscribers_url":"https://api.github.com/repos/dew326/PlatformUIBundle/subscribers","subscription_url":"https://api.github.com/repos/dew326/PlatformUIBundle/subscription","commits_url":"https://api.github.com/repos/dew326/PlatformUIBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/dew326/PlatformUIBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/dew326/PlatformUIBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/dew326/PlatformUIBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/dew326/PlatformUIBundle/contents/{+path}","compare_url":"https://api.github.com/repos/dew326/PlatformUIBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dew326/PlatformUIBundle/merges","archive_url":"https://api.github.com/repos/dew326/PlatformUIBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dew326/PlatformUIBundle/downloads","issues_url":"https://api.github.com/repos/dew326/PlatformUIBundle/issues{/number}","pulls_url":"https://api.github.com/repos/dew326/PlatformUIBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/dew326/PlatformUIBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/dew326/PlatformUIBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dew326/PlatformUIBundle/labels{/name}","releases_url":"https://api.github.com/repos/dew326/PlatformUIBundle/releases{/id}","deployments_url":"https://api.github.com/repos/dew326/PlatformUIBundle/deployments","created_at":"2016-02-02T09:24:19Z","updated_at":"2016-02-02T09:24:21Z","pushed_at":"2016-03-03T12:27:28Z","git_url":"git://github.com/dew326/PlatformUIBundle.git","ssh_url":"git@github.com:dew326/PlatformUIBundle.git","clone_url":"https://github.com/dew326/PlatformUIBundle.git","svn_url":"https://github.com/dew326/PlatformUIBundle","homepage":"http://ezplatform.com/","size":4928,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"03247e718fd3418130a5ba252fd1fcda29f03df8","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-02-27T01:26:30Z","pushed_at":"2016-03-03T13:35:29Z","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":5943,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":15,"forks":28,"open_issues":15,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522"},"html":{"href":"https://github.com/ezsystems/PlatformUIBundle/pull/522"},"issue":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/522"},"comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/522/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/522/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/87a814f259049f5fa3ea564627d2148d49152d6b"}}}}