{"action":"created","comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/44000423","id":44000423,"diff_hunk":"@@ -91,23 +101,15 @@ def create(self, username=None, email=None, password1=None,\n                 )\n         self.click(common_locators['submit'])\n \n-    def search(self, name, search_key):\n-        \"\"\"Searches existing user from UI.\"\"\"\n-        Navigator(self.browser).go_to_users()\n-        return self.search_entity(\n-            name, locators['users.user'], search_key=search_key)\n-\n-    def delete(self, name, search_key, really=True):\n+    def delete(self, name, really=True):\n         \"\"\"Deletes existing user from UI.\"\"\"\n         self.delete_entity(\n             name,\n             really,\n-            locators['users.user'],","path":"robottelo/ui/user.py","position":33,"original_position":33,"commit_id":"21a3eaa100ece07c8f4dd08a6a36c00c206fe2be","original_commit_id":"21a3eaa100ece07c8f4dd08a6a36c00c206fe2be","user":{"login":"abalakh","id":11719030,"avatar_url":"https://avatars.githubusercontent.com/u/11719030?v=3","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"body":"I really have no idea how it was working before.\r\nWe were passing user locator as locator to 'delete' button, and locator to delete button as locator to drop-down (and there's no drop down, actually). Of course it was not working locally. What surprises me is the fact it wasn't failing on Jenkins.","created_at":"2015-11-05T11:13:36Z","updated_at":"2015-11-05T11:13:36Z","html_url":"https://github.com/SatelliteQE/robottelo/pull/2989#discussion_r44000423","pull_request_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989","_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/44000423"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/2989#discussion_r44000423"},"pull_request":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989"}}},"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989","id":49810240,"html_url":"https://github.com/SatelliteQE/robottelo/pull/2989","diff_url":"https://github.com/SatelliteQE/robottelo/pull/2989.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/2989.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2989","number":2989,"state":"open","locked":false,"title":"UI: Update user search according to #2930","user":{"login":"abalakh","id":11719030,"avatar_url":"https://avatars.githubusercontent.com/u/11719030?v=3","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"body":"Part of #2930 \r\nTest results:\r\n```\r\nnosetests tests/foreman/ui/test_user.py\r\nESSSSSSSSSSSSSSSS.....SSSSSSSSSSSSSSSSSSSSSSSSSSSSS.S.....S.....SSSSSSSSSSSSSSSSSSSSSSSSSSSS.SSSSS..\r\n======================================================================\r\nERROR: @Test: Delete a User\r\n----------------------------------------------------------------------\r\nRan 100 tests in 1322.898s\r\n\r\nFAILED (SKIP=80, errors=1)\r\n```\r\nFixed and re-ran the failed test:\r\n```\r\nnosetests tests/foreman/ui/test_user.py -m test_delete_user\r\n.\r\n----------------------------------------------------------------------\r\nRan 1 test in 170.012s\r\n\r\nOK\r\n```\r\nAffected modules:\r\n```\r\nnosetests tests/foreman/smoke/test_ui_smoke.py -m test_find_admin_user\r\n.\r\n----------------------------------------------------------------------\r\nRan 1 test in 20.365s\r\n\r\nOK\r\n\r\nnosetests tests/foreman/ui/test_usergroup.py -m test_remove_usergroup\r\nS\r\n----------------------------------------------------------------------\r\nRan 1 test in 15.086s\r\n\r\nOK (SKIP=1)\r\n```","created_at":"2015-11-05T11:11:14Z","updated_at":"2015-11-05T11:13:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ba4681ecf3d34803ef317886a9ef479f8c5388a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2989/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/21a3eaa100ece07c8f4dd08a6a36c00c206fe2be","head":{"label":"abalakh:ui_search_user","ref":"ui_search_user","sha":"21a3eaa100ece07c8f4dd08a6a36c00c206fe2be","user":{"login":"abalakh","id":11719030,"avatar_url":"https://avatars.githubusercontent.com/u/11719030?v=3","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"repo":{"id":33126603,"name":"robottelo","full_name":"abalakh/robottelo","owner":{"login":"abalakh","id":11719030,"avatar_url":"https://avatars.githubusercontent.com/u/11719030?v=3","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abalakh/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":true,"url":"https://api.github.com/repos/abalakh/robottelo","forks_url":"https://api.github.com/repos/abalakh/robottelo/forks","keys_url":"https://api.github.com/repos/abalakh/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abalakh/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abalakh/robottelo/teams","hooks_url":"https://api.github.com/repos/abalakh/robottelo/hooks","issue_events_url":"https://api.github.com/repos/abalakh/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/abalakh/robottelo/events","assignees_url":"https://api.github.com/repos/abalakh/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/abalakh/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/abalakh/robottelo/tags","blobs_url":"https://api.github.com/repos/abalakh/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abalakh/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abalakh/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/abalakh/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abalakh/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/abalakh/robottelo/languages","stargazers_url":"https://api.github.com/repos/abalakh/robottelo/stargazers","contributors_url":"https://api.github.com/repos/abalakh/robottelo/contributors","subscribers_url":"https://api.github.com/repos/abalakh/robottelo/subscribers","subscription_url":"https://api.github.com/repos/abalakh/robottelo/subscription","commits_url":"https://api.github.com/repos/abalakh/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/abalakh/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/abalakh/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/abalakh/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/abalakh/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/abalakh/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abalakh/robottelo/merges","archive_url":"https://api.github.com/repos/abalakh/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abalakh/robottelo/downloads","issues_url":"https://api.github.com/repos/abalakh/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/abalakh/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/abalakh/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/abalakh/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abalakh/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/abalakh/robottelo/releases{/id}","created_at":"2015-03-30T14:04:24Z","updated_at":"2015-05-07T13:12:41Z","pushed_at":"2015-11-05T11:09:53Z","git_url":"git://github.com/abalakh/robottelo.git","ssh_url":"git@github.com:abalakh/robottelo.git","clone_url":"https://github.com/abalakh/robottelo.git","svn_url":"https://github.com/abalakh/robottelo","homepage":"","size":9890,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SatelliteQE:ui-search_v3","ref":"ui-search_v3","sha":"faf7d69a50b91f6855eaa3a7bcfae8051aaabe48","user":{"login":"SatelliteQE","id":8754276,"avatar_url":"https://avatars.githubusercontent.com/u/8754276?v=3","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"repo":{"id":4000279,"name":"robottelo","full_name":"SatelliteQE/robottelo","owner":{"login":"SatelliteQE","id":8754276,"avatar_url":"https://avatars.githubusercontent.com/u/8754276?v=3","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SatelliteQE/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":false,"url":"https://api.github.com/repos/SatelliteQE/robottelo","forks_url":"https://api.github.com/repos/SatelliteQE/robottelo/forks","keys_url":"https://api.github.com/repos/SatelliteQE/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SatelliteQE/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SatelliteQE/robottelo/teams","hooks_url":"https://api.github.com/repos/SatelliteQE/robottelo/hooks","issue_events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/events","assignees_url":"https://api.github.com/repos/SatelliteQE/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/SatelliteQE/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/SatelliteQE/robottelo/tags","blobs_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/SatelliteQE/robottelo/languages","stargazers_url":"https://api.github.com/repos/SatelliteQE/robottelo/stargazers","contributors_url":"https://api.github.com/repos/SatelliteQE/robottelo/contributors","subscribers_url":"https://api.github.com/repos/SatelliteQE/robottelo/subscribers","subscription_url":"https://api.github.com/repos/SatelliteQE/robottelo/subscription","commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/SatelliteQE/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/SatelliteQE/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SatelliteQE/robottelo/merges","archive_url":"https://api.github.com/repos/SatelliteQE/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SatelliteQE/robottelo/downloads","issues_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/SatelliteQE/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/SatelliteQE/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/SatelliteQE/robottelo/releases{/id}","created_at":"2012-04-12T01:36:39Z","updated_at":"2015-08-04T16:49:37Z","pushed_at":"2015-11-05T11:11:15Z","git_url":"git://github.com/SatelliteQE/robottelo.git","ssh_url":"git@github.com:SatelliteQE/robottelo.git","clone_url":"https://github.com/SatelliteQE/robottelo.git","svn_url":"https://github.com/SatelliteQE/robottelo","homepage":"","size":21106,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":155,"forks":32,"open_issues":155,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/2989"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2989"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2989/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2989/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/21a3eaa100ece07c8f4dd08a6a36c00c206fe2be"}}}}