{"action":"created","comment":{"url":"https://api.github.com/repos/alfa-laboratory/akita/pulls/comments/149887893","pull_request_review_id":75352951,"id":149887893,"diff_hunk":"@@ -638,6 +638,48 @@ public void scrollToElement(String elementName) {\n     }\n \n     /**\n+     * Выбор из списка со страницы любого случайного элемента\n+     */\n+    @Тогда(\"^выбран любой элемент в списке \\\"([^\\\"]*)\\\"$\")\n+    public void selectRandomElementFromList(String listName) {\n+        List<SelenideElement> listOfElementsFromPage = akitaScenario.getCurrentPage().getElementsList(listName);\n+        listOfElementsFromPage.get(getRandom(listOfElementsFromPage.size())).shouldBe(Condition.enabled).click();","path":"src/main/java/ru/alfabank/steps/DefaultSteps.java","position":181,"original_position":181,"commit_id":"8581001abf763b0fb58767f612df0d9788291070","original_commit_id":"8581001abf763b0fb58767f612df0d9788291070","user":{"login":"anatolyburtsev","id":905276,"avatar_url":"https://avatars0.githubusercontent.com/u/905276?v=4","gravatar_id":"","url":"https://api.github.com/users/anatolyburtsev","html_url":"https://github.com/anatolyburtsev","followers_url":"https://api.github.com/users/anatolyburtsev/followers","following_url":"https://api.github.com/users/anatolyburtsev/following{/other_user}","gists_url":"https://api.github.com/users/anatolyburtsev/gists{/gist_id}","starred_url":"https://api.github.com/users/anatolyburtsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatolyburtsev/subscriptions","organizations_url":"https://api.github.com/users/anatolyburtsev/orgs","repos_url":"https://api.github.com/users/anatolyburtsev/repos","events_url":"https://api.github.com/users/anatolyburtsev/events{/privacy}","received_events_url":"https://api.github.com/users/anatolyburtsev/received_events","type":"User","site_admin":false},"body":"для удобочитаемости хорошо бы вставить Enter перед .shouldBe.\r\n\r\nв первое строке выбираем элемент, во второй все остальное с уже определенным элементом ","created_at":"2017-11-09T08:05:05Z","updated_at":"2017-11-09T08:23:32Z","html_url":"https://github.com/alfa-laboratory/akita/pull/11#discussion_r149887893","pull_request_url":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alfa-laboratory/akita/pulls/comments/149887893"},"html":{"href":"https://github.com/alfa-laboratory/akita/pull/11#discussion_r149887893"},"pull_request":{"href":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11","id":151434985,"html_url":"https://github.com/alfa-laboratory/akita/pull/11","diff_url":"https://github.com/alfa-laboratory/akita/pull/11.diff","patch_url":"https://github.com/alfa-laboratory/akita/pull/11.patch","issue_url":"https://api.github.com/repos/alfa-laboratory/akita/issues/11","number":11,"state":"open","locked":false,"title":"added step to work with list of elements","user":{"login":"GannaChernyshova","id":23744062,"avatar_url":"https://avatars0.githubusercontent.com/u/23744062?v=4","gravatar_id":"","url":"https://api.github.com/users/GannaChernyshova","html_url":"https://github.com/GannaChernyshova","followers_url":"https://api.github.com/users/GannaChernyshova/followers","following_url":"https://api.github.com/users/GannaChernyshova/following{/other_user}","gists_url":"https://api.github.com/users/GannaChernyshova/gists{/gist_id}","starred_url":"https://api.github.com/users/GannaChernyshova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GannaChernyshova/subscriptions","organizations_url":"https://api.github.com/users/GannaChernyshova/orgs","repos_url":"https://api.github.com/users/GannaChernyshova/repos","events_url":"https://api.github.com/users/GannaChernyshova/events{/privacy}","received_events_url":"https://api.github.com/users/GannaChernyshova/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-08T16:45:41Z","updated_at":"2017-11-09T08:23:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ff1e674e208b6aaad34b70b0ef0a14221835111","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11/commits","review_comments_url":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11/comments","review_comment_url":"https://api.github.com/repos/alfa-laboratory/akita/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alfa-laboratory/akita/issues/11/comments","statuses_url":"https://api.github.com/repos/alfa-laboratory/akita/statuses/8581001abf763b0fb58767f612df0d9788291070","head":{"label":"alfa-laboratory:feature/list-steps","ref":"feature/list-steps","sha":"8581001abf763b0fb58767f612df0d9788291070","user":{"login":"alfa-laboratory","id":20887020,"avatar_url":"https://avatars1.githubusercontent.com/u/20887020?v=4","gravatar_id":"","url":"https://api.github.com/users/alfa-laboratory","html_url":"https://github.com/alfa-laboratory","followers_url":"https://api.github.com/users/alfa-laboratory/followers","following_url":"https://api.github.com/users/alfa-laboratory/following{/other_user}","gists_url":"https://api.github.com/users/alfa-laboratory/gists{/gist_id}","starred_url":"https://api.github.com/users/alfa-laboratory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfa-laboratory/subscriptions","organizations_url":"https://api.github.com/users/alfa-laboratory/orgs","repos_url":"https://api.github.com/users/alfa-laboratory/repos","events_url":"https://api.github.com/users/alfa-laboratory/events{/privacy}","received_events_url":"https://api.github.com/users/alfa-laboratory/received_events","type":"Organization","site_admin":false},"repo":{"id":105522406,"name":"akita","full_name":"alfa-laboratory/akita","owner":{"login":"alfa-laboratory","id":20887020,"avatar_url":"https://avatars1.githubusercontent.com/u/20887020?v=4","gravatar_id":"","url":"https://api.github.com/users/alfa-laboratory","html_url":"https://github.com/alfa-laboratory","followers_url":"https://api.github.com/users/alfa-laboratory/followers","following_url":"https://api.github.com/users/alfa-laboratory/following{/other_user}","gists_url":"https://api.github.com/users/alfa-laboratory/gists{/gist_id}","starred_url":"https://api.github.com/users/alfa-laboratory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfa-laboratory/subscriptions","organizations_url":"https://api.github.com/users/alfa-laboratory/orgs","repos_url":"https://api.github.com/users/alfa-laboratory/repos","events_url":"https://api.github.com/users/alfa-laboratory/events{/privacy}","received_events_url":"https://api.github.com/users/alfa-laboratory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alfa-laboratory/akita","description":"BDD steps library for test automation","fork":false,"url":"https://api.github.com/repos/alfa-laboratory/akita","forks_url":"https://api.github.com/repos/alfa-laboratory/akita/forks","keys_url":"https://api.github.com/repos/alfa-laboratory/akita/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfa-laboratory/akita/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfa-laboratory/akita/teams","hooks_url":"https://api.github.com/repos/alfa-laboratory/akita/hooks","issue_events_url":"https://api.github.com/repos/alfa-laboratory/akita/issues/events{/number}","events_url":"https://api.github.com/repos/alfa-laboratory/akita/events","assignees_url":"https://api.github.com/repos/alfa-laboratory/akita/assignees{/user}","branches_url":"https://api.github.com/repos/alfa-laboratory/akita/branches{/branch}","tags_url":"https://api.github.com/repos/alfa-laboratory/akita/tags","blobs_url":"https://api.github.com/repos/alfa-laboratory/akita/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfa-laboratory/akita/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfa-laboratory/akita/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfa-laboratory/akita/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfa-laboratory/akita/statuses/{sha}","languages_url":"https://api.github.com/repos/alfa-laboratory/akita/languages","stargazers_url":"https://api.github.com/repos/alfa-laboratory/akita/stargazers","contributors_url":"https://api.github.com/repos/alfa-laboratory/akita/contributors","subscribers_url":"https://api.github.com/repos/alfa-laboratory/akita/subscribers","subscription_url":"https://api.github.com/repos/alfa-laboratory/akita/subscription","commits_url":"https://api.github.com/repos/alfa-laboratory/akita/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfa-laboratory/akita/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfa-laboratory/akita/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfa-laboratory/akita/issues/comments{/number}","contents_url":"https://api.github.com/repos/alfa-laboratory/akita/contents/{+path}","compare_url":"https://api.github.com/repos/alfa-laboratory/akita/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfa-laboratory/akita/merges","archive_url":"https://api.github.com/repos/alfa-laboratory/akita/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfa-laboratory/akita/downloads","issues_url":"https://api.github.com/repos/alfa-laboratory/akita/issues{/number}","pulls_url":"https://api.github.com/repos/alfa-laboratory/akita/pulls{/number}","milestones_url":"https://api.github.com/repos/alfa-laboratory/akita/milestones{/number}","notifications_url":"https://api.github.com/repos/alfa-laboratory/akita/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfa-laboratory/akita/labels{/name}","releases_url":"https://api.github.com/repos/alfa-laboratory/akita/releases{/id}","deployments_url":"https://api.github.com/repos/alfa-laboratory/akita/deployments","created_at":"2017-10-02T10:25:25Z","updated_at":"2017-11-08T15:56:56Z","pushed_at":"2017-11-09T05:19:30Z","git_url":"git://github.com/alfa-laboratory/akita.git","ssh_url":"git@github.com:alfa-laboratory/akita.git","clone_url":"https://github.com/alfa-laboratory/akita.git","svn_url":"https://github.com/alfa-laboratory/akita","homepage":null,"size":170,"stargazers_count":18,"watchers_count":18,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":18,"default_branch":"master"}},"base":{"label":"alfa-laboratory:master","ref":"master","sha":"cd1fd78ba88ccfb41ac1b3eda3519d4e2ebb8286","user":{"login":"alfa-laboratory","id":20887020,"avatar_url":"https://avatars1.githubusercontent.com/u/20887020?v=4","gravatar_id":"","url":"https://api.github.com/users/alfa-laboratory","html_url":"https://github.com/alfa-laboratory","followers_url":"https://api.github.com/users/alfa-laboratory/followers","following_url":"https://api.github.com/users/alfa-laboratory/following{/other_user}","gists_url":"https://api.github.com/users/alfa-laboratory/gists{/gist_id}","starred_url":"https://api.github.com/users/alfa-laboratory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfa-laboratory/subscriptions","organizations_url":"https://api.github.com/users/alfa-laboratory/orgs","repos_url":"https://api.github.com/users/alfa-laboratory/repos","events_url":"https://api.github.com/users/alfa-laboratory/events{/privacy}","received_events_url":"https://api.github.com/users/alfa-laboratory/received_events","type":"Organization","site_admin":false},"repo":{"id":105522406,"name":"akita","full_name":"alfa-laboratory/akita","owner":{"login":"alfa-laboratory","id":20887020,"avatar_url":"https://avatars1.githubusercontent.com/u/20887020?v=4","gravatar_id":"","url":"https://api.github.com/users/alfa-laboratory","html_url":"https://github.com/alfa-laboratory","followers_url":"https://api.github.com/users/alfa-laboratory/followers","following_url":"https://api.github.com/users/alfa-laboratory/following{/other_user}","gists_url":"https://api.github.com/users/alfa-laboratory/gists{/gist_id}","starred_url":"https://api.github.com/users/alfa-laboratory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfa-laboratory/subscriptions","organizations_url":"https://api.github.com/users/alfa-laboratory/orgs","repos_url":"https://api.github.com/users/alfa-laboratory/repos","events_url":"https://api.github.com/users/alfa-laboratory/events{/privacy}","received_events_url":"https://api.github.com/users/alfa-laboratory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alfa-laboratory/akita","description":"BDD steps library for test automation","fork":false,"url":"https://api.github.com/repos/alfa-laboratory/akita","forks_url":"https://api.github.com/repos/alfa-laboratory/akita/forks","keys_url":"https://api.github.com/repos/alfa-laboratory/akita/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfa-laboratory/akita/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfa-laboratory/akita/teams","hooks_url":"https://api.github.com/repos/alfa-laboratory/akita/hooks","issue_events_url":"https://api.github.com/repos/alfa-laboratory/akita/issues/events{/number}","events_url":"https://api.github.com/repos/alfa-laboratory/akita/events","assignees_url":"https://api.github.com/repos/alfa-laboratory/akita/assignees{/user}","branches_url":"https://api.github.com/repos/alfa-laboratory/akita/branches{/branch}","tags_url":"https://api.github.com/repos/alfa-laboratory/akita/tags","blobs_url":"https://api.github.com/repos/alfa-laboratory/akita/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfa-laboratory/akita/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfa-laboratory/akita/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfa-laboratory/akita/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfa-laboratory/akita/statuses/{sha}","languages_url":"https://api.github.com/repos/alfa-laboratory/akita/languages","stargazers_url":"https://api.github.com/repos/alfa-laboratory/akita/stargazers","contributors_url":"https://api.github.com/repos/alfa-laboratory/akita/contributors","subscribers_url":"https://api.github.com/repos/alfa-laboratory/akita/subscribers","subscription_url":"https://api.github.com/repos/alfa-laboratory/akita/subscription","commits_url":"https://api.github.com/repos/alfa-laboratory/akita/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfa-laboratory/akita/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfa-laboratory/akita/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfa-laboratory/akita/issues/comments{/number}","contents_url":"https://api.github.com/repos/alfa-laboratory/akita/contents/{+path}","compare_url":"https://api.github.com/repos/alfa-laboratory/akita/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfa-laboratory/akita/merges","archive_url":"https://api.github.com/repos/alfa-laboratory/akita/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfa-laboratory/akita/downloads","issues_url":"https://api.github.com/repos/alfa-laboratory/akita/issues{/number}","pulls_url":"https://api.github.com/repos/alfa-laboratory/akita/pulls{/number}","milestones_url":"https://api.github.com/repos/alfa-laboratory/akita/milestones{/number}","notifications_url":"https://api.github.com/repos/alfa-laboratory/akita/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfa-laboratory/akita/labels{/name}","releases_url":"https://api.github.com/repos/alfa-laboratory/akita/releases{/id}","deployments_url":"https://api.github.com/repos/alfa-laboratory/akita/deployments","created_at":"2017-10-02T10:25:25Z","updated_at":"2017-11-08T15:56:56Z","pushed_at":"2017-11-09T05:19:30Z","git_url":"git://github.com/alfa-laboratory/akita.git","ssh_url":"git@github.com:alfa-laboratory/akita.git","clone_url":"https://github.com/alfa-laboratory/akita.git","svn_url":"https://github.com/alfa-laboratory/akita","homepage":null,"size":170,"stargazers_count":18,"watchers_count":18,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11"},"html":{"href":"https://github.com/alfa-laboratory/akita/pull/11"},"issue":{"href":"https://api.github.com/repos/alfa-laboratory/akita/issues/11"},"comments":{"href":"https://api.github.com/repos/alfa-laboratory/akita/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/alfa-laboratory/akita/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alfa-laboratory/akita/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/alfa-laboratory/akita/statuses/8581001abf763b0fb58767f612df0d9788291070"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"anatolyburtsev"}}