payload: {"action":"created","comment":{"url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/comments/322603111","pull_request_review_id":285970161,"id":322603111,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyMjYwMzExMQ==","diff_hunk":"@@ -0,0 +1,42 @@\n+package io.cify.framework.core\n+\n+import org.openqa.selenium.Point\n+import org.openqa.selenium.StaleElementReferenceException\n+import org.openqa.selenium.WebDriver\n+import org.openqa.selenium.WebElement\n+import org.openqa.selenium.support.ui.ExpectedCondition\n+\n+class CifyExpectedConditions {\n+    static Point lastLocation = new Point(0, 0)\n+\n+    /**\n+     * An expectation for checking an element is not moving. Main use case - check for animation end\n+     *\n+     * @param element the WebElement\n+     * @return Instance of ExpectedCondition<Boolean>\n+     */\n+    static ExpectedCondition<Boolean> elementToBeStable(final WebElement element) {\n+        return new ExpectedCondition<Boolean>() {\n+            @Override\n+            Boolean apply(WebDriver driver) {\n+                Point currentLocation = element.location\n+                try {\n+                    if (currentLocation.x == lastLocation.x && currentLocation.y == lastLocation.y) {\n+                        lastLocation = new Point(0, 0)\n+                        return true\n+                    }\n+                    lastLocation.x = currentLocation.x\n+                    lastLocation.y = currentLocation.y\n+                    return false\n+                } catch (StaleElementReferenceException ignored) {","path":"src/main/groovy/io/cify/framework/core/CifyExpectedConditions.groovy","position":31,"original_position":31,"commit_id":"a5784dc852337f18abacf45e50e200e10d9390fe","original_commit_id":"a5784dc852337f18abacf45e50e200e10d9390fe","user":{"login":"tummima","id":26300864,"node_id":"MDQ6VXNlcjI2MzAwODY0","avatar_url":"https://avatars1.githubusercontent.com/u/26300864?v=4","gravatar_id":"","url":"https://api.github.com/users/tummima","html_url":"https://github.com/tummima","followers_url":"https://api.github.com/users/tummima/followers","following_url":"https://api.github.com/users/tummima/following{/other_user}","gists_url":"https://api.github.com/users/tummima/gists{/gist_id}","starred_url":"https://api.github.com/users/tummima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tummima/subscriptions","organizations_url":"https://api.github.com/users/tummima/orgs","repos_url":"https://api.github.com/users/tummima/repos","events_url":"https://api.github.com/users/tummima/events{/privacy}","received_events_url":"https://api.github.com/users/tummima/received_events","type":"User","site_admin":false},"body":"other exceptions will not be caught and the app would crash","created_at":"2019-09-10T08:03:03Z","updated_at":"2019-09-10T08:03:03Z","html_url":"https://github.com/fobsolutions/cify-framework/pull/60#discussion_r322603111","pull_request_url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/comments/322603111"},"html":{"href":"https://github.com/fobsolutions/cify-framework/pull/60#discussion_r322603111"},"pull_request":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60"}},"in_reply_to_id":322314118},"pull_request":{"url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60","id":315440743,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE1NDQwNzQz","html_url":"https://github.com/fobsolutions/cify-framework/pull/60","diff_url":"https://github.com/fobsolutions/cify-framework/pull/60.diff","patch_url":"https://github.com/fobsolutions/cify-framework/pull/60.patch","issue_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues/60","number":60,"state":"open","locked":false,"title":"ExpectedConditions utility class added","user":{"login":"Docik","id":1225028,"node_id":"MDQ6VXNlcjEyMjUwMjg=","avatar_url":"https://avatars2.githubusercontent.com/u/1225028?v=4","gravatar_id":"","url":"https://api.github.com/users/Docik","html_url":"https://github.com/Docik","followers_url":"https://api.github.com/users/Docik/followers","following_url":"https://api.github.com/users/Docik/following{/other_user}","gists_url":"https://api.github.com/users/Docik/gists{/gist_id}","starred_url":"https://api.github.com/users/Docik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Docik/subscriptions","organizations_url":"https://api.github.com/users/Docik/orgs","repos_url":"https://api.github.com/users/Docik/repos","events_url":"https://api.github.com/users/Docik/events{/privacy}","received_events_url":"https://api.github.com/users/Docik/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-09-09T09:31:23Z","updated_at":"2019-09-10T08:03:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbbd104b10dcdd706986d19054bb8316209df6d3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"markokonsaFob","id":15345506,"node_id":"MDQ6VXNlcjE1MzQ1NTA2","avatar_url":"https://avatars1.githubusercontent.com/u/15345506?v=4","gravatar_id":"","url":"https://api.github.com/users/markokonsaFob","html_url":"https://github.com/markokonsaFob","followers_url":"https://api.github.com/users/markokonsaFob/followers","following_url":"https://api.github.com/users/markokonsaFob/following{/other_user}","gists_url":"https://api.github.com/users/markokonsaFob/gists{/gist_id}","starred_url":"https://api.github.com/users/markokonsaFob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markokonsaFob/subscriptions","organizations_url":"https://api.github.com/users/markokonsaFob/orgs","repos_url":"https://api.github.com/users/markokonsaFob/repos","events_url":"https://api.github.com/users/markokonsaFob/events{/privacy}","received_events_url":"https://api.github.com/users/markokonsaFob/received_events","type":"User","site_admin":false},{"login":"vadim-fob","id":20920281,"node_id":"MDQ6VXNlcjIwOTIwMjgx","avatar_url":"https://avatars3.githubusercontent.com/u/20920281?v=4","gravatar_id":"","url":"https://api.github.com/users/vadim-fob","html_url":"https://github.com/vadim-fob","followers_url":"https://api.github.com/users/vadim-fob/followers","following_url":"https://api.github.com/users/vadim-fob/following{/other_user}","gists_url":"https://api.github.com/users/vadim-fob/gists{/gist_id}","starred_url":"https://api.github.com/users/vadim-fob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadim-fob/subscriptions","organizations_url":"https://api.github.com/users/vadim-fob/orgs","repos_url":"https://api.github.com/users/vadim-fob/repos","events_url":"https://api.github.com/users/vadim-fob/events{/privacy}","received_events_url":"https://api.github.com/users/vadim-fob/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60/commits","review_comments_url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60/comments","review_comment_url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues/60/comments","statuses_url":"https://api.github.com/repos/fobsolutions/cify-framework/statuses/a5784dc852337f18abacf45e50e200e10d9390fe","head":{"label":"fobsolutions:expected_conditions","ref":"expected_conditions","sha":"a5784dc852337f18abacf45e50e200e10d9390fe","user":{"login":"fobsolutions","id":15341032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQxMDMy","avatar_url":"https://avatars2.githubusercontent.com/u/15341032?v=4","gravatar_id":"","url":"https://api.github.com/users/fobsolutions","html_url":"https://github.com/fobsolutions","followers_url":"https://api.github.com/users/fobsolutions/followers","following_url":"https://api.github.com/users/fobsolutions/following{/other_user}","gists_url":"https://api.github.com/users/fobsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/fobsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fobsolutions/subscriptions","organizations_url":"https://api.github.com/users/fobsolutions/orgs","repos_url":"https://api.github.com/users/fobsolutions/repos","events_url":"https://api.github.com/users/fobsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/fobsolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":68707066,"node_id":"MDEwOlJlcG9zaXRvcnk2ODcwNzA2Ng==","name":"cify-framework","full_name":"fobsolutions/cify-framework","private":false,"owner":{"login":"fobsolutions","id":15341032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQxMDMy","avatar_url":"https://avatars2.githubusercontent.com/u/15341032?v=4","gravatar_id":"","url":"https://api.github.com/users/fobsolutions","html_url":"https://github.com/fobsolutions","followers_url":"https://api.github.com/users/fobsolutions/followers","following_url":"https://api.github.com/users/fobsolutions/following{/other_user}","gists_url":"https://api.github.com/users/fobsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/fobsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fobsolutions/subscriptions","organizations_url":"https://api.github.com/users/fobsolutions/orgs","repos_url":"https://api.github.com/users/fobsolutions/repos","events_url":"https://api.github.com/users/fobsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/fobsolutions/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fobsolutions/cify-framework","description":null,"fork":false,"url":"https://api.github.com/repos/fobsolutions/cify-framework","forks_url":"https://api.github.com/repos/fobsolutions/cify-framework/forks","keys_url":"https://api.github.com/repos/fobsolutions/cify-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fobsolutions/cify-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fobsolutions/cify-framework/teams","hooks_url":"https://api.github.com/repos/fobsolutions/cify-framework/hooks","issue_events_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues/events{/number}","events_url":"https://api.github.com/repos/fobsolutions/cify-framework/events","assignees_url":"https://api.github.com/repos/fobsolutions/cify-framework/assignees{/user}","branches_url":"https://api.github.com/repos/fobsolutions/cify-framework/branches{/branch}","tags_url":"https://api.github.com/repos/fobsolutions/cify-framework/tags","blobs_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fobsolutions/cify-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/fobsolutions/cify-framework/languages","stargazers_url":"https://api.github.com/repos/fobsolutions/cify-framework/stargazers","contributors_url":"https://api.github.com/repos/fobsolutions/cify-framework/contributors","subscribers_url":"https://api.github.com/repos/fobsolutions/cify-framework/subscribers","subscription_url":"https://api.github.com/repos/fobsolutions/cify-framework/subscription","commits_url":"https://api.github.com/repos/fobsolutions/cify-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/fobsolutions/cify-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/fobsolutions/cify-framework/contents/{+path}","compare_url":"https://api.github.com/repos/fobsolutions/cify-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fobsolutions/cify-framework/merges","archive_url":"https://api.github.com/repos/fobsolutions/cify-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fobsolutions/cify-framework/downloads","issues_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues{/number}","pulls_url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/fobsolutions/cify-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/fobsolutions/cify-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fobsolutions/cify-framework/labels{/name}","releases_url":"https://api.github.com/repos/fobsolutions/cify-framework/releases{/id}","deployments_url":"https://api.github.com/repos/fobsolutions/cify-framework/deployments","created_at":"2016-09-20T11:54:09Z","updated_at":"2019-08-29T10:38:55Z","pushed_at":"2019-09-09T09:31:24Z","git_url":"git://github.com/fobsolutions/cify-framework.git","ssh_url":"git@github.com:fobsolutions/cify-framework.git","clone_url":"https://github.com/fobsolutions/cify-framework.git","svn_url":"https://github.com/fobsolutions/cify-framework","homepage":null,"size":273,"stargazers_count":1,"watchers_count":1,"language":"Groovy","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"fobsolutions:master","ref":"master","sha":"1a028efb79dca9f4e6a4b46c4343635a39790c83","user":{"login":"fobsolutions","id":15341032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQxMDMy","avatar_url":"https://avatars2.githubusercontent.com/u/15341032?v=4","gravatar_id":"","url":"https://api.github.com/users/fobsolutions","html_url":"https://github.com/fobsolutions","followers_url":"https://api.github.com/users/fobsolutions/followers","following_url":"https://api.github.com/users/fobsolutions/following{/other_user}","gists_url":"https://api.github.com/users/fobsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/fobsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fobsolutions/subscriptions","organizations_url":"https://api.github.com/users/fobsolutions/orgs","repos_url":"https://api.github.com/users/fobsolutions/repos","events_url":"https://api.github.com/users/fobsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/fobsolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":68707066,"node_id":"MDEwOlJlcG9zaXRvcnk2ODcwNzA2Ng==","name":"cify-framework","full_name":"fobsolutions/cify-framework","private":false,"owner":{"login":"fobsolutions","id":15341032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQxMDMy","avatar_url":"https://avatars2.githubusercontent.com/u/15341032?v=4","gravatar_id":"","url":"https://api.github.com/users/fobsolutions","html_url":"https://github.com/fobsolutions","followers_url":"https://api.github.com/users/fobsolutions/followers","following_url":"https://api.github.com/users/fobsolutions/following{/other_user}","gists_url":"https://api.github.com/users/fobsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/fobsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fobsolutions/subscriptions","organizations_url":"https://api.github.com/users/fobsolutions/orgs","repos_url":"https://api.github.com/users/fobsolutions/repos","events_url":"https://api.github.com/users/fobsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/fobsolutions/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fobsolutions/cify-framework","description":null,"fork":false,"url":"https://api.github.com/repos/fobsolutions/cify-framework","forks_url":"https://api.github.com/repos/fobsolutions/cify-framework/forks","keys_url":"https://api.github.com/repos/fobsolutions/cify-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fobsolutions/cify-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fobsolutions/cify-framework/teams","hooks_url":"https://api.github.com/repos/fobsolutions/cify-framework/hooks","issue_events_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues/events{/number}","events_url":"https://api.github.com/repos/fobsolutions/cify-framework/events","assignees_url":"https://api.github.com/repos/fobsolutions/cify-framework/assignees{/user}","branches_url":"https://api.github.com/repos/fobsolutions/cify-framework/branches{/branch}","tags_url":"https://api.github.com/repos/fobsolutions/cify-framework/tags","blobs_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fobsolutions/cify-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/fobsolutions/cify-framework/languages","stargazers_url":"https://api.github.com/repos/fobsolutions/cify-framework/stargazers","contributors_url":"https://api.github.com/repos/fobsolutions/cify-framework/contributors","subscribers_url":"https://api.github.com/repos/fobsolutions/cify-framework/subscribers","subscription_url":"https://api.github.com/repos/fobsolutions/cify-framework/subscription","commits_url":"https://api.github.com/repos/fobsolutions/cify-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/fobsolutions/cify-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/fobsolutions/cify-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/fobsolutions/cify-framework/contents/{+path}","compare_url":"https://api.github.com/repos/fobsolutions/cify-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fobsolutions/cify-framework/merges","archive_url":"https://api.github.com/repos/fobsolutions/cify-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fobsolutions/cify-framework/downloads","issues_url":"https://api.github.com/repos/fobsolutions/cify-framework/issues{/number}","pulls_url":"https://api.github.com/repos/fobsolutions/cify-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/fobsolutions/cify-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/fobsolutions/cify-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fobsolutions/cify-framework/labels{/name}","releases_url":"https://api.github.com/repos/fobsolutions/cify-framework/releases{/id}","deployments_url":"https://api.github.com/repos/fobsolutions/cify-framework/deployments","created_at":"2016-09-20T11:54:09Z","updated_at":"2019-08-29T10:38:55Z","pushed_at":"2019-09-09T09:31:24Z","git_url":"git://github.com/fobsolutions/cify-framework.git","ssh_url":"git@github.com:fobsolutions/cify-framework.git","clone_url":"https://github.com/fobsolutions/cify-framework.git","svn_url":"https://github.com/fobsolutions/cify-framework","homepage":null,"size":273,"stargazers_count":1,"watchers_count":1,"language":"Groovy","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60"},"html":{"href":"https://github.com/fobsolutions/cify-framework/pull/60"},"issue":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/issues/60"},"comments":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/fobsolutions/cify-framework/statuses/a5784dc852337f18abacf45e50e200e10d9390fe"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"tummima"}}