{"action":"created","comment":{"url":"https://api.github.com/repos/opf/openproject/pulls/comments/27653886","id":27653886,"diff_hunk":"@@ -0,0 +1,68 @@\n+//-- copyright\n+// OpenProject is a project management system.\n+// Copyright (C) 2012-2015 the OpenProject Foundation (OPF)\n+//\n+// This program is free software; you can redistribute it and/or\n+// modify it under the terms of the GNU General Public License version 3.\n+//\n+// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:\n+// Copyright (C) 2006-2013 Jean-Philippe Lang\n+// Copyright (C) 2010-2013 the ChiliProject Team\n+//\n+// This program is free software; you can redistribute it and/or\n+// modify it under the terms of the GNU General Public License\n+// as published by the Free Software Foundation; either version 2\n+// of the License, or (at your option) any later version.\n+//\n+// This program is distributed in the hope that it will be useful,\n+// but WITHOUT ANY WARRANTY; without even the implied warranty of\n+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+// GNU General Public License for more details.\n+//\n+// You should have received a copy of the GNU General Public License\n+// along with this program; if not, write to the Free Software\n+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+//\n+// See doc/COPYRIGHT.rdoc for more details.\n+//++\n+\n+var expect = require('../../spec_helper.js').expect,\n+    WorkPackagesPage = require('../../pages/work-packages-page.js');\n+\n+describe('OpenProject', function() {\n+  var page = new WorkPackagesPage();\n+\n+  beforeEach(function(){\n+    page.get();\n+  });\n+\n+  it('columns modal should focus', function() {\n+    element(by.css('#work-packages-settings-button')).click();\n+    element(by.css('[ng-click=\"showColumnsModal($event)\"]')).click();\n+    browser.driver.switchTo().activeElement().getAttribute('class').then(function (classList) {\n+      expect(element(by.css('.ui-select-container.ui-select-multiple input.ui-select-search')).getAttribute('class'))","path":"frontend/tests/integration/specs/work-packages/work-packages-modal-focus-spec.js","position":43,"original_position":43,"commit_id":"b1ae49e4c111694c897bcba8c63390d8ffed8977","original_commit_id":"b1ae49e4c111694c897bcba8c63390d8ffed8977","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.<br>'element' is not defined.","created_at":"2015-04-02T12:58:53Z","updated_at":"2015-04-02T12:58:53Z","html_url":"https://github.com/opf/openproject/pull/2781#discussion_r27653886","pull_request_url":"https://api.github.com/repos/opf/openproject/pulls/2781","_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments/27653886"},"html":{"href":"https://github.com/opf/openproject/pull/2781#discussion_r27653886"},"pull_request":{"href":"https://api.github.com/repos/opf/openproject/pulls/2781"}}},"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/2781","id":32508884,"html_url":"https://github.com/opf/openproject/pull/2781","diff_url":"https://github.com/opf/openproject/pull/2781.diff","patch_url":"https://github.com/opf/openproject/pull/2781.patch","issue_url":"https://api.github.com/repos/opf/openproject/issues/2781","number":2781,"state":"open","locked":false,"title":"Bug #19028: [Regression][Accessibility] No auto-focus set when opening modal windows in work package list","user":{"login":"nickmessing","id":1633826,"avatar_url":"https://avatars.githubusercontent.com/u/1633826?v=3","gravatar_id":"","url":"https://api.github.com/users/nickmessing","html_url":"https://github.com/nickmessing","followers_url":"https://api.github.com/users/nickmessing/followers","following_url":"https://api.github.com/users/nickmessing/following{/other_user}","gists_url":"https://api.github.com/users/nickmessing/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmessing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmessing/subscriptions","organizations_url":"https://api.github.com/users/nickmessing/orgs","repos_url":"https://api.github.com/users/nickmessing/repos","events_url":"https://api.github.com/users/nickmessing/events{/privacy}","received_events_url":"https://api.github.com/users/nickmessing/received_events","type":"User","site_admin":false},"body":"https://community.openproject.org/work_packages/19028\r\n\r\nTODO: switch nickmessing/angular-context-menu to opf/angular-context-menu","created_at":"2015-04-02T12:58:48Z","updated_at":"2015-04-02T12:58:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87e1420c1b52491070e276c9491d6832bbb176d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opf/openproject/pulls/2781/commits","review_comments_url":"https://api.github.com/repos/opf/openproject/pulls/2781/comments","review_comment_url":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opf/openproject/issues/2781/comments","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/b1ae49e4c111694c897bcba8c63390d8ffed8977","head":{"label":"nickmessing:bugfix/19028-modal-focus","ref":"bugfix/19028-modal-focus","sha":"b1ae49e4c111694c897bcba8c63390d8ffed8977","user":{"login":"nickmessing","id":1633826,"avatar_url":"https://avatars.githubusercontent.com/u/1633826?v=3","gravatar_id":"","url":"https://api.github.com/users/nickmessing","html_url":"https://github.com/nickmessing","followers_url":"https://api.github.com/users/nickmessing/followers","following_url":"https://api.github.com/users/nickmessing/following{/other_user}","gists_url":"https://api.github.com/users/nickmessing/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmessing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmessing/subscriptions","organizations_url":"https://api.github.com/users/nickmessing/orgs","repos_url":"https://api.github.com/users/nickmessing/repos","events_url":"https://api.github.com/users/nickmessing/events{/privacy}","received_events_url":"https://api.github.com/users/nickmessing/received_events","type":"User","site_admin":false},"repo":{"id":32152478,"name":"openproject","full_name":"nickmessing/openproject","owner":{"login":"nickmessing","id":1633826,"avatar_url":"https://avatars.githubusercontent.com/u/1633826?v=3","gravatar_id":"","url":"https://api.github.com/users/nickmessing","html_url":"https://github.com/nickmessing","followers_url":"https://api.github.com/users/nickmessing/followers","following_url":"https://api.github.com/users/nickmessing/following{/other_user}","gists_url":"https://api.github.com/users/nickmessing/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmessing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmessing/subscriptions","organizations_url":"https://api.github.com/users/nickmessing/orgs","repos_url":"https://api.github.com/users/nickmessing/repos","events_url":"https://api.github.com/users/nickmessing/events{/privacy}","received_events_url":"https://api.github.com/users/nickmessing/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickmessing/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":true,"url":"https://api.github.com/repos/nickmessing/openproject","forks_url":"https://api.github.com/repos/nickmessing/openproject/forks","keys_url":"https://api.github.com/repos/nickmessing/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickmessing/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickmessing/openproject/teams","hooks_url":"https://api.github.com/repos/nickmessing/openproject/hooks","issue_events_url":"https://api.github.com/repos/nickmessing/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/nickmessing/openproject/events","assignees_url":"https://api.github.com/repos/nickmessing/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/nickmessing/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/nickmessing/openproject/tags","blobs_url":"https://api.github.com/repos/nickmessing/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickmessing/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickmessing/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickmessing/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickmessing/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/nickmessing/openproject/languages","stargazers_url":"https://api.github.com/repos/nickmessing/openproject/stargazers","contributors_url":"https://api.github.com/repos/nickmessing/openproject/contributors","subscribers_url":"https://api.github.com/repos/nickmessing/openproject/subscribers","subscription_url":"https://api.github.com/repos/nickmessing/openproject/subscription","commits_url":"https://api.github.com/repos/nickmessing/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickmessing/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickmessing/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickmessing/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickmessing/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/nickmessing/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickmessing/openproject/merges","archive_url":"https://api.github.com/repos/nickmessing/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickmessing/openproject/downloads","issues_url":"https://api.github.com/repos/nickmessing/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/nickmessing/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/nickmessing/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/nickmessing/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickmessing/openproject/labels{/name}","releases_url":"https://api.github.com/repos/nickmessing/openproject/releases{/id}","created_at":"2015-03-13T11:33:28Z","updated_at":"2015-04-02T12:37:17Z","pushed_at":"2015-04-02T12:56:47Z","git_url":"git://github.com/nickmessing/openproject.git","ssh_url":"git@github.com:nickmessing/openproject.git","clone_url":"https://github.com/nickmessing/openproject.git","svn_url":"https://github.com/nickmessing/openproject","homepage":"https://www.openproject.org","size":61964,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"dev"}},"base":{"label":"opf:dev","ref":"dev","sha":"2a60a8f02d53cbad45c15f83cb7b067d0ea11343","user":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"repo":{"id":6899875,"name":"openproject","full_name":"opf/openproject","owner":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opf/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/opf/openproject","forks_url":"https://api.github.com/repos/opf/openproject/forks","keys_url":"https://api.github.com/repos/opf/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opf/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opf/openproject/teams","hooks_url":"https://api.github.com/repos/opf/openproject/hooks","issue_events_url":"https://api.github.com/repos/opf/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/opf/openproject/events","assignees_url":"https://api.github.com/repos/opf/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/opf/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/opf/openproject/tags","blobs_url":"https://api.github.com/repos/opf/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opf/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opf/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/opf/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/opf/openproject/languages","stargazers_url":"https://api.github.com/repos/opf/openproject/stargazers","contributors_url":"https://api.github.com/repos/opf/openproject/contributors","subscribers_url":"https://api.github.com/repos/opf/openproject/subscribers","subscription_url":"https://api.github.com/repos/opf/openproject/subscription","commits_url":"https://api.github.com/repos/opf/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/opf/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/opf/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/opf/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/opf/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/opf/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opf/openproject/merges","archive_url":"https://api.github.com/repos/opf/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opf/openproject/downloads","issues_url":"https://api.github.com/repos/opf/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/opf/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/opf/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/opf/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opf/openproject/labels{/name}","releases_url":"https://api.github.com/repos/opf/openproject/releases{/id}","created_at":"2012-11-28T09:59:11Z","updated_at":"2015-04-02T12:00:59Z","pushed_at":"2015-04-02T12:58:48Z","git_url":"git://github.com/opf/openproject.git","ssh_url":"git@github.com:opf/openproject.git","clone_url":"https://github.com/opf/openproject.git","svn_url":"https://github.com/opf/openproject","homepage":"https://www.openproject.org","size":189142,"stargazers_count":565,"watchers_count":565,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":253,"mirror_url":null,"open_issues_count":57,"forks":253,"open_issues":57,"watchers":565,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/2781"},"html":{"href":"https://github.com/opf/openproject/pull/2781"},"issue":{"href":"https://api.github.com/repos/opf/openproject/issues/2781"},"comments":{"href":"https://api.github.com/repos/opf/openproject/issues/2781/comments"},"review_comments":{"href":"https://api.github.com/repos/opf/openproject/pulls/2781/comments"},"review_comment":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opf/openproject/pulls/2781/commits"},"statuses":{"href":"https://api.github.com/repos/opf/openproject/statuses/b1ae49e4c111694c897bcba8c63390d8ffed8977"}}}}