{"action":"created","comment":{"url":"https://api.github.com/repos/dkotegov/homework-4/pulls/comments/236823798","pull_request_review_id":178980695,"id":236823798,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjgyMzc5OA==","diff_hunk":"@@ -0,0 +1,97 @@\n+# -*- coding: utf-8 -*-\n+\n+import unittest\n+import os\n+import time\n+from selenium import webdriver\n+\n+from tests.pages.auth_page import AuthPage\n+from tests.pages.main_page import MainPage\n+\n+from selenium.webdriver import DesiredCapabilities, Remote\n+from selenium.common.exceptions import TimeoutException\n+\n+class TestMovingLettersInFolders(unittest.TestCase):\n+    USEREMAIL = 'ttexnopark@mail.ru'\n+    PASSWORD = os.environ['PASSWORD']\n+\n+    SOURCE_DIR_NAME = 'Test_Rustam'\n+    TARGET_DIR_NAME = 'Отправленные'\n+\n+    def setUp(self):\n+        browser = os.environ.get('BROWSER', 'CHROME')\n+\n+        self.driver = Remote(\n+            command_executor='http://127.0.0.1:4444/wd/hub',\n+            desired_capabilities=getattr(DesiredCapabilities, browser).copy()\n+        )\n+\n+        self.main_page = MainPage(self.driver)\n+        self.sidebar = self.main_page.sidebar\n+        self.letters = self.main_page.letters\n+        self.folder_create = self.main_page.folder_create\n+\n+        # Авторизация\n+        auth_page = AuthPage(self.driver)\n+        auth_page.open()\n+        auth_form = auth_page.form\n+        auth_form.set_login(self.USEREMAIL)\n+        auth_form.set_password(self.PASSWORD)\n+        auth_form.submit()\n+\n+        # Переход к версии Почты для тестирования\n+        self.main_page.waitForVisible()\n+        self.main_page.redirectToQa()\n+        self.main_page.go_to_inbox()\n+\n+    def tearDown(self):\n+        # Удаление папки и очистка корзины\n+        self.sidebar.delete_folder(self.SOURCE_DIR_NAME)\n+        self.sidebar.clear_trash()\n+\n+        self.driver.quit()\n+    \n+    \"\"\"\n+        № Теста:            2\n+        КЭ:                 Допустимый\n+        Количество писем:   Одно письмо\n+        Откуда:             Из списка писем\n+        Способ перемещения: ПКМ\n+        Начальная папка:    Пользовательская папка\n+        Целевая папка:      Основная папка\n+    \"\"\"\n+    \n+    def test_moving_letters_by_right_mouse_button_click(self):\n+        # Удаление source папки, если она была создана до теста\n+        self.sidebar.delete_folder(self.SOURCE_DIR_NAME)","path":"tests/QA_72_Migranov/by_right_mouse_button_click.py","position":66,"original_position":66,"commit_id":"24fc681fac8c5739539557e578558522af1c918d","original_commit_id":"24fc681fac8c5739539557e578558522af1c918d","user":{"login":"InfantryMan","id":22483300,"node_id":"MDQ6VXNlcjIyNDgzMzAw","avatar_url":"https://avatars2.githubusercontent.com/u/22483300?v=4","gravatar_id":"","url":"https://api.github.com/users/InfantryMan","html_url":"https://github.com/InfantryMan","followers_url":"https://api.github.com/users/InfantryMan/followers","following_url":"https://api.github.com/users/InfantryMan/following{/other_user}","gists_url":"https://api.github.com/users/InfantryMan/gists{/gist_id}","starred_url":"https://api.github.com/users/InfantryMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InfantryMan/subscriptions","organizations_url":"https://api.github.com/users/InfantryMan/orgs","repos_url":"https://api.github.com/users/InfantryMan/repos","events_url":"https://api.github.com/users/InfantryMan/events{/privacy}","received_events_url":"https://api.github.com/users/InfantryMan/received_events","type":"User","site_admin":false},"body":"Мне получается не надо проверять, что предыдущий за собой не очистил?","created_at":"2018-11-27T19:58:00Z","updated_at":"2018-11-27T19:58:01Z","html_url":"https://github.com/dkotegov/homework-4/pull/56#discussion_r236823798","pull_request_url":"https://api.github.com/repos/dkotegov/homework-4/pulls/56","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/dkotegov/homework-4/pulls/comments/236823798"},"html":{"href":"https://github.com/dkotegov/homework-4/pull/56#discussion_r236823798"},"pull_request":{"href":"https://api.github.com/repos/dkotegov/homework-4/pulls/56"}},"in_reply_to_id":235834280},"pull_request":{"url":"https://api.github.com/repos/dkotegov/homework-4/pulls/56","id":232773986,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNzczOTg2","html_url":"https://github.com/dkotegov/homework-4/pull/56","diff_url":"https://github.com/dkotegov/homework-4/pull/56.diff","patch_url":"https://github.com/dkotegov/homework-4/pull/56.patch","issue_url":"https://api.github.com/repos/dkotegov/homework-4/issues/56","number":56,"state":"open","locked":false,"title":"RK6 Cooperation","user":{"login":"PDmitryA","id":22381017,"node_id":"MDQ6VXNlcjIyMzgxMDE3","avatar_url":"https://avatars2.githubusercontent.com/u/22381017?v=4","gravatar_id":"","url":"https://api.github.com/users/PDmitryA","html_url":"https://github.com/PDmitryA","followers_url":"https://api.github.com/users/PDmitryA/followers","following_url":"https://api.github.com/users/PDmitryA/following{/other_user}","gists_url":"https://api.github.com/users/PDmitryA/gists{/gist_id}","starred_url":"https://api.github.com/users/PDmitryA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PDmitryA/subscriptions","organizations_url":"https://api.github.com/users/PDmitryA/orgs","repos_url":"https://api.github.com/users/PDmitryA/repos","events_url":"https://api.github.com/users/PDmitryA/events{/privacy}","received_events_url":"https://api.github.com/users/PDmitryA/received_events","type":"User","site_admin":false},"body":"### В команде:\r\n\r\nГарифуллин Тимур\r\nhttp://jira.bmstu.cloud/browse/QA-86\r\nМигранов Рустам\r\nhttp://jira.bmstu.cloud/browse/QA-72\r\nПарпибаева Надежда\r\nhttp://jira.bmstu.cloud/browse/QA-82\r\nПопонкин Дмитрий\r\nhttp://jira.bmstu.cloud/browse/QA-89\r\n\r\n_логин и пароль в tg._","created_at":"2018-11-21T19:19:39Z","updated_at":"2018-11-27T19:58:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03bf443757183595f4868f8808ee31b0a125bfe6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dkotegov/homework-4/pulls/56/commits","review_comments_url":"https://api.github.com/repos/dkotegov/homework-4/pulls/56/comments","review_comment_url":"https://api.github.com/repos/dkotegov/homework-4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dkotegov/homework-4/issues/56/comments","statuses_url":"https://api.github.com/repos/dkotegov/homework-4/statuses/24fc681fac8c5739539557e578558522af1c918d","head":{"label":"InfantryMan:master","ref":"master","sha":"24fc681fac8c5739539557e578558522af1c918d","user":{"login":"InfantryMan","id":22483300,"node_id":"MDQ6VXNlcjIyNDgzMzAw","avatar_url":"https://avatars2.githubusercontent.com/u/22483300?v=4","gravatar_id":"","url":"https://api.github.com/users/InfantryMan","html_url":"https://github.com/InfantryMan","followers_url":"https://api.github.com/users/InfantryMan/followers","following_url":"https://api.github.com/users/InfantryMan/following{/other_user}","gists_url":"https://api.github.com/users/InfantryMan/gists{/gist_id}","starred_url":"https://api.github.com/users/InfantryMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InfantryMan/subscriptions","organizations_url":"https://api.github.com/users/InfantryMan/orgs","repos_url":"https://api.github.com/users/InfantryMan/repos","events_url":"https://api.github.com/users/InfantryMan/events{/privacy}","received_events_url":"https://api.github.com/users/InfantryMan/received_events","type":"User","site_admin":false},"repo":{"id":155772548,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU3NzI1NDg=","name":"homework-4","full_name":"InfantryMan/homework-4","private":false,"owner":{"login":"InfantryMan","id":22483300,"node_id":"MDQ6VXNlcjIyNDgzMzAw","avatar_url":"https://avatars2.githubusercontent.com/u/22483300?v=4","gravatar_id":"","url":"https://api.github.com/users/InfantryMan","html_url":"https://github.com/InfantryMan","followers_url":"https://api.github.com/users/InfantryMan/followers","following_url":"https://api.github.com/users/InfantryMan/following{/other_user}","gists_url":"https://api.github.com/users/InfantryMan/gists{/gist_id}","starred_url":"https://api.github.com/users/InfantryMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InfantryMan/subscriptions","organizations_url":"https://api.github.com/users/InfantryMan/orgs","repos_url":"https://api.github.com/users/InfantryMan/repos","events_url":"https://api.github.com/users/InfantryMan/events{/privacy}","received_events_url":"https://api.github.com/users/InfantryMan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/InfantryMan/homework-4","description":null,"fork":true,"url":"https://api.github.com/repos/InfantryMan/homework-4","forks_url":"https://api.github.com/repos/InfantryMan/homework-4/forks","keys_url":"https://api.github.com/repos/InfantryMan/homework-4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InfantryMan/homework-4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InfantryMan/homework-4/teams","hooks_url":"https://api.github.com/repos/InfantryMan/homework-4/hooks","issue_events_url":"https://api.github.com/repos/InfantryMan/homework-4/issues/events{/number}","events_url":"https://api.github.com/repos/InfantryMan/homework-4/events","assignees_url":"https://api.github.com/repos/InfantryMan/homework-4/assignees{/user}","branches_url":"https://api.github.com/repos/InfantryMan/homework-4/branches{/branch}","tags_url":"https://api.github.com/repos/InfantryMan/homework-4/tags","blobs_url":"https://api.github.com/repos/InfantryMan/homework-4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InfantryMan/homework-4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InfantryMan/homework-4/git/refs{/sha}","trees_url":"https://api.github.com/repos/InfantryMan/homework-4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InfantryMan/homework-4/statuses/{sha}","languages_url":"https://api.github.com/repos/InfantryMan/homework-4/languages","stargazers_url":"https://api.github.com/repos/InfantryMan/homework-4/stargazers","contributors_url":"https://api.github.com/repos/InfantryMan/homework-4/contributors","subscribers_url":"https://api.github.com/repos/InfantryMan/homework-4/subscribers","subscription_url":"https://api.github.com/repos/InfantryMan/homework-4/subscription","commits_url":"https://api.github.com/repos/InfantryMan/homework-4/commits{/sha}","git_commits_url":"https://api.github.com/repos/InfantryMan/homework-4/git/commits{/sha}","comments_url":"https://api.github.com/repos/InfantryMan/homework-4/comments{/number}","issue_comment_url":"https://api.github.com/repos/InfantryMan/homework-4/issues/comments{/number}","contents_url":"https://api.github.com/repos/InfantryMan/homework-4/contents/{+path}","compare_url":"https://api.github.com/repos/InfantryMan/homework-4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InfantryMan/homework-4/merges","archive_url":"https://api.github.com/repos/InfantryMan/homework-4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InfantryMan/homework-4/downloads","issues_url":"https://api.github.com/repos/InfantryMan/homework-4/issues{/number}","pulls_url":"https://api.github.com/repos/InfantryMan/homework-4/pulls{/number}","milestones_url":"https://api.github.com/repos/InfantryMan/homework-4/milestones{/number}","notifications_url":"https://api.github.com/repos/InfantryMan/homework-4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InfantryMan/homework-4/labels{/name}","releases_url":"https://api.github.com/repos/InfantryMan/homework-4/releases{/id}","deployments_url":"https://api.github.com/repos/InfantryMan/homework-4/deployments","created_at":"2018-11-01T20:34:53Z","updated_at":"2018-11-21T21:52:00Z","pushed_at":"2018-11-21T21:51:58Z","git_url":"git://github.com/InfantryMan/homework-4.git","ssh_url":"git@github.com:InfantryMan/homework-4.git","clone_url":"https://github.com/InfantryMan/homework-4.git","svn_url":"https://github.com/InfantryMan/homework-4","homepage":null,"size":25353,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dkotegov:master","ref":"master","sha":"0a92890a50404914c83f614554363035c5498759","user":{"login":"dkotegov","id":11413412,"node_id":"MDQ6VXNlcjExNDEzNDEy","avatar_url":"https://avatars3.githubusercontent.com/u/11413412?v=4","gravatar_id":"","url":"https://api.github.com/users/dkotegov","html_url":"https://github.com/dkotegov","followers_url":"https://api.github.com/users/dkotegov/followers","following_url":"https://api.github.com/users/dkotegov/following{/other_user}","gists_url":"https://api.github.com/users/dkotegov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkotegov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkotegov/subscriptions","organizations_url":"https://api.github.com/users/dkotegov/orgs","repos_url":"https://api.github.com/users/dkotegov/repos","events_url":"https://api.github.com/users/dkotegov/events{/privacy}","received_events_url":"https://api.github.com/users/dkotegov/received_events","type":"User","site_admin":false},"repo":{"id":55363445,"node_id":"MDEwOlJlcG9zaXRvcnk1NTM2MzQ0NQ==","name":"homework-4","full_name":"dkotegov/homework-4","private":false,"owner":{"login":"dkotegov","id":11413412,"node_id":"MDQ6VXNlcjExNDEzNDEy","avatar_url":"https://avatars3.githubusercontent.com/u/11413412?v=4","gravatar_id":"","url":"https://api.github.com/users/dkotegov","html_url":"https://github.com/dkotegov","followers_url":"https://api.github.com/users/dkotegov/followers","following_url":"https://api.github.com/users/dkotegov/following{/other_user}","gists_url":"https://api.github.com/users/dkotegov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkotegov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkotegov/subscriptions","organizations_url":"https://api.github.com/users/dkotegov/orgs","repos_url":"https://api.github.com/users/dkotegov/repos","events_url":"https://api.github.com/users/dkotegov/events{/privacy}","received_events_url":"https://api.github.com/users/dkotegov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dkotegov/homework-4","description":null,"fork":false,"url":"https://api.github.com/repos/dkotegov/homework-4","forks_url":"https://api.github.com/repos/dkotegov/homework-4/forks","keys_url":"https://api.github.com/repos/dkotegov/homework-4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkotegov/homework-4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkotegov/homework-4/teams","hooks_url":"https://api.github.com/repos/dkotegov/homework-4/hooks","issue_events_url":"https://api.github.com/repos/dkotegov/homework-4/issues/events{/number}","events_url":"https://api.github.com/repos/dkotegov/homework-4/events","assignees_url":"https://api.github.com/repos/dkotegov/homework-4/assignees{/user}","branches_url":"https://api.github.com/repos/dkotegov/homework-4/branches{/branch}","tags_url":"https://api.github.com/repos/dkotegov/homework-4/tags","blobs_url":"https://api.github.com/repos/dkotegov/homework-4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkotegov/homework-4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkotegov/homework-4/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkotegov/homework-4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkotegov/homework-4/statuses/{sha}","languages_url":"https://api.github.com/repos/dkotegov/homework-4/languages","stargazers_url":"https://api.github.com/repos/dkotegov/homework-4/stargazers","contributors_url":"https://api.github.com/repos/dkotegov/homework-4/contributors","subscribers_url":"https://api.github.com/repos/dkotegov/homework-4/subscribers","subscription_url":"https://api.github.com/repos/dkotegov/homework-4/subscription","commits_url":"https://api.github.com/repos/dkotegov/homework-4/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkotegov/homework-4/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkotegov/homework-4/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkotegov/homework-4/issues/comments{/number}","contents_url":"https://api.github.com/repos/dkotegov/homework-4/contents/{+path}","compare_url":"https://api.github.com/repos/dkotegov/homework-4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkotegov/homework-4/merges","archive_url":"https://api.github.com/repos/dkotegov/homework-4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkotegov/homework-4/downloads","issues_url":"https://api.github.com/repos/dkotegov/homework-4/issues{/number}","pulls_url":"https://api.github.com/repos/dkotegov/homework-4/pulls{/number}","milestones_url":"https://api.github.com/repos/dkotegov/homework-4/milestones{/number}","notifications_url":"https://api.github.com/repos/dkotegov/homework-4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkotegov/homework-4/labels{/name}","releases_url":"https://api.github.com/repos/dkotegov/homework-4/releases{/id}","deployments_url":"https://api.github.com/repos/dkotegov/homework-4/deployments","created_at":"2016-04-03T19:01:49Z","updated_at":"2016-04-03T19:03:52Z","pushed_at":"2018-11-22T20:23:30Z","git_url":"git://github.com/dkotegov/homework-4.git","ssh_url":"git@github.com:dkotegov/homework-4.git","clone_url":"https://github.com/dkotegov/homework-4.git","svn_url":"https://github.com/dkotegov/homework-4","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":64,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dkotegov/homework-4/pulls/56"},"html":{"href":"https://github.com/dkotegov/homework-4/pull/56"},"issue":{"href":"https://api.github.com/repos/dkotegov/homework-4/issues/56"},"comments":{"href":"https://api.github.com/repos/dkotegov/homework-4/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/dkotegov/homework-4/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/dkotegov/homework-4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dkotegov/homework-4/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/dkotegov/homework-4/statuses/24fc681fac8c5739539557e578558522af1c918d"}},"author_association":"NONE"}}
{"actor":{"display_login":"InfantryMan"}}