{"action":"created","comment":{"url":"https://api.github.com/repos/strongqa/howitzer_example/pulls/comments/24592869","id":24592869,"diff_hunk":"@@ -1,30 +1,171 @@\n @ok\n Feature: Log In\n+  As a user \n+  I want to use my credentials to login the system\n+  So I can login the system\n+\n   @bvt\n-  Scenario: Visitor can open login page via menu\n-    Given home page of web application\n-    When I click Login menu item on home page\n-    Then login page should be displayed\n+  Scenario: visitor can open Login page via menu\n+    Given Home page of web application\n+    When I click Login menu item on Home page\n+    Then Login page should be displayed\n \n   @bvt\n-  Scenario: Visitor can login with correct credentials\n-    Given login page of web application\n-    When I fill form data on login page:\n-      | email    | admin@test.com |\n-      | password | 1234567890     |\n-    And I submit form on login page\n+  Scenario: visitor can login with correct credentials\n+    Given registered user with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | UNIQ_USER[:password] |\n+    And Login page of web application\n+    When I fill Login form on Login page with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | UNIQ_USER[:password] |\n+    And I submit Login form on Login page\n     Then I should be logged in the system\n-    And home page should be displayed\n+    And Home page should be displayed\n \n   @bvt\n-  Scenario: Visitor can login with remembering credentials\n-  @p1\n-  Scenario: Visitor can not login without credentials\n+  Scenario: visitor can login with remembering credentials\n+    Given registered user with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | UNIQ_USER[:password] |\n+    And Login page of web application\n+    When I fill Login form on Login page with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | UNIQ_USER[:password] |\n+    And I enable Remember me checkbox\n+    And I submit Login form on Login page\n+    Then I should be logged in the system\n+    And Home page should be displayed\n+    When I logout and login the system\n+    And I click on Email field on Login page\n+    And I choose in dropdown list following data:\n+      | email    | UNIQ_USER[:email]    |\n+    Then Login form on Login page should be filled with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | UNIQ_USER[:password] |\n+    And I submit Login form on Login page\n+    And I should be logged in the system\n+    And Home page should be displayed\n+\n   @p1\n-  Scenario: Visitor can not login with incorrect credentials\n+  Scenario: visitor can not login without credentials\n+    Given registered user with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | UNIQ_USER[:password] |\n+    And Login page of web application\n+    When I fill Login form on Login page with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password |                      |\n+    And I submit Login form on Login page\n+    Then I should not be logged in the system\n+    And I should see following text on Login page:\n+      \"\"\"\n+      Invalid email or password.\n+      \"\"\"\n+    When I fill Login form on Login page with data:\n+      | email    |                      |\n+      | password | UNIQ_USER[:password] |\n+    And I submit Login form on Login page\n+    Then I should not be logged in the system\n+    And I should see following text on Login page:\n+      \"\"\"\n+      Invalid email or password.\n+      \"\"\"\n+    When I fill Login form on Login page with data:\n+      | email    |                      |\n+      | password |                      |\n+    And I submit Login form on Login page\n+    Then I should not be logged in the system\n+    And I should see following text on Login page:\n+      \"\"\"\n+      Invalid email or password.\n+      \"\"\"\n+      \n   @p1\n-  Scenario: Visitor can initiate sign up\n+  Scenario: visitor can not login with incorrect credentials\n+    Given registered user with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | UNIQ_USER[:password] |\n+    And Login page of web application\n+    When I fill Login form on Login page with data:\n+      | email    | test@test.test       |\n+      | password | UNIQ_USER[:password] |\n+    And I submit Login form on Login page\n+    And I should see following text on Login page:\n+      \"\"\"\n+      Invalid email or password.\n+      \"\"\"\n+    When I fill Login form on Login page with data:\n+      | email    | UNIQ_USER[:email]    |\n+      | password | test_login           |\n+    And I submit Login form on Login page\n+    And I should see following text on Login page:\n+      \"\"\"\n+      Invalid email or password.\n+      \"\"\"\n+    When I fill Login form on Login page with data:\n+      | email    | test@test.test       |\n+      | password | test_login           |\n+    And I submit Login form on Login page\n+    And I should see following text on Login page:\n+      \"\"\"\n+      Invalid email or password.\n+      \"\"\"\n+    When I fill Login form on Login page with data:\n+      | email    | test.1234567890      |","path":"test_automation/features/functionality/auth/login.feature","position":131,"original_position":131,"commit_id":"cd1ce3e077f1471e9ec511851659e33ed7024b48","original_commit_id":"cd1ce3e077f1471e9ec511851659e33ed7024b48","user":{"login":"SirNicholas","id":1522839,"avatar_url":"https://avatars.githubusercontent.com/u/1522839?v=3","gravatar_id":"","url":"https://api.github.com/users/SirNicholas","html_url":"https://github.com/SirNicholas","followers_url":"https://api.github.com/users/SirNicholas/followers","following_url":"https://api.github.com/users/SirNicholas/following{/other_user}","gists_url":"https://api.github.com/users/SirNicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/SirNicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirNicholas/subscriptions","organizations_url":"https://api.github.com/users/SirNicholas/orgs","repos_url":"https://api.github.com/users/SirNicholas/repos","events_url":"https://api.github.com/users/SirNicholas/events{/privacy}","received_events_url":"https://api.github.com/users/SirNicholas/received_events","type":"User","site_admin":false},"body":"если не используеш поле password, то оно всеравно должно быть в таблице, но с пустым значением. Мы об это говорили раньше","created_at":"2015-02-12T16:14:34Z","updated_at":"2015-02-12T16:14:34Z","html_url":"https://github.com/strongqa/howitzer_example/pull/24#discussion_r24592869","pull_request_url":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/strongqa/howitzer_example/pulls/comments/24592869"},"html":{"href":"https://github.com/strongqa/howitzer_example/pull/24#discussion_r24592869"},"pull_request":{"href":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24","id":29177878,"html_url":"https://github.com/strongqa/howitzer_example/pull/24","diff_url":"https://github.com/strongqa/howitzer_example/pull/24.diff","patch_url":"https://github.com/strongqa/howitzer_example/pull/24.patch","issue_url":"https://api.github.com/repos/strongqa/howitzer_example/issues/24","number":24,"state":"open","locked":false,"title":"Updated Login feature","user":{"login":"dkanevskiy","id":10721501,"avatar_url":"https://avatars.githubusercontent.com/u/10721501?v=3","gravatar_id":"","url":"https://api.github.com/users/dkanevskiy","html_url":"https://github.com/dkanevskiy","followers_url":"https://api.github.com/users/dkanevskiy/followers","following_url":"https://api.github.com/users/dkanevskiy/following{/other_user}","gists_url":"https://api.github.com/users/dkanevskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/dkanevskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkanevskiy/subscriptions","organizations_url":"https://api.github.com/users/dkanevskiy/orgs","repos_url":"https://api.github.com/users/dkanevskiy/repos","events_url":"https://api.github.com/users/dkanevskiy/events{/privacy}","received_events_url":"https://api.github.com/users/dkanevskiy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-12T13:18:59Z","updated_at":"2015-02-12T16:14:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a05ebbed82b3cb77f9a7cde4bcf8bb7e613868e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24/commits","review_comments_url":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24/comments","review_comment_url":"https://api.github.com/repos/strongqa/howitzer_example/pulls/comments/{number}","comments_url":"https://api.github.com/repos/strongqa/howitzer_example/issues/24/comments","statuses_url":"https://api.github.com/repos/strongqa/howitzer_example/statuses/cd1ce3e077f1471e9ec511851659e33ed7024b48","head":{"label":"dkanevskiy:master","ref":"master","sha":"cd1ce3e077f1471e9ec511851659e33ed7024b48","user":{"login":"dkanevskiy","id":10721501,"avatar_url":"https://avatars.githubusercontent.com/u/10721501?v=3","gravatar_id":"","url":"https://api.github.com/users/dkanevskiy","html_url":"https://github.com/dkanevskiy","followers_url":"https://api.github.com/users/dkanevskiy/followers","following_url":"https://api.github.com/users/dkanevskiy/following{/other_user}","gists_url":"https://api.github.com/users/dkanevskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/dkanevskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkanevskiy/subscriptions","organizations_url":"https://api.github.com/users/dkanevskiy/orgs","repos_url":"https://api.github.com/users/dkanevskiy/repos","events_url":"https://api.github.com/users/dkanevskiy/events{/privacy}","received_events_url":"https://api.github.com/users/dkanevskiy/received_events","type":"User","site_admin":false},"repo":{"id":30653560,"name":"howitzer_example","full_name":"dkanevskiy/howitzer_example","owner":{"login":"dkanevskiy","id":10721501,"avatar_url":"https://avatars.githubusercontent.com/u/10721501?v=3","gravatar_id":"","url":"https://api.github.com/users/dkanevskiy","html_url":"https://github.com/dkanevskiy","followers_url":"https://api.github.com/users/dkanevskiy/followers","following_url":"https://api.github.com/users/dkanevskiy/following{/other_user}","gists_url":"https://api.github.com/users/dkanevskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/dkanevskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkanevskiy/subscriptions","organizations_url":"https://api.github.com/users/dkanevskiy/orgs","repos_url":"https://api.github.com/users/dkanevskiy/repos","events_url":"https://api.github.com/users/dkanevskiy/events{/privacy}","received_events_url":"https://api.github.com/users/dkanevskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkanevskiy/howitzer_example","description":"Howitzer example project for demo web application ","fork":true,"url":"https://api.github.com/repos/dkanevskiy/howitzer_example","forks_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/forks","keys_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/teams","hooks_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/hooks","issue_events_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/issues/events{/number}","events_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/events","assignees_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/assignees{/user}","branches_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/branches{/branch}","tags_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/tags","blobs_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/statuses/{sha}","languages_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/languages","stargazers_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/stargazers","contributors_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/contributors","subscribers_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/subscribers","subscription_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/subscription","commits_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/issues/comments/{number}","contents_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/contents/{+path}","compare_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/merges","archive_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/downloads","issues_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/issues{/number}","pulls_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/pulls{/number}","milestones_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/milestones{/number}","notifications_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/labels{/name}","releases_url":"https://api.github.com/repos/dkanevskiy/howitzer_example/releases{/id}","created_at":"2015-02-11T15:13:54Z","updated_at":"2015-02-12T13:14:35Z","pushed_at":"2015-02-12T13:14:34Z","git_url":"git://github.com/dkanevskiy/howitzer_example.git","ssh_url":"git@github.com:dkanevskiy/howitzer_example.git","clone_url":"https://github.com/dkanevskiy/howitzer_example.git","svn_url":"https://github.com/dkanevskiy/howitzer_example","homepage":null,"size":515,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"strongqa:master","ref":"master","sha":"7fcd11946911adb51ae6736e956d11768966cfb7","user":{"login":"strongqa","id":7290435,"avatar_url":"https://avatars.githubusercontent.com/u/7290435?v=3","gravatar_id":"","url":"https://api.github.com/users/strongqa","html_url":"https://github.com/strongqa","followers_url":"https://api.github.com/users/strongqa/followers","following_url":"https://api.github.com/users/strongqa/following{/other_user}","gists_url":"https://api.github.com/users/strongqa/gists{/gist_id}","starred_url":"https://api.github.com/users/strongqa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongqa/subscriptions","organizations_url":"https://api.github.com/users/strongqa/orgs","repos_url":"https://api.github.com/users/strongqa/repos","events_url":"https://api.github.com/users/strongqa/events{/privacy}","received_events_url":"https://api.github.com/users/strongqa/received_events","type":"Organization","site_admin":false},"repo":{"id":18636985,"name":"howitzer_example","full_name":"strongqa/howitzer_example","owner":{"login":"strongqa","id":7290435,"avatar_url":"https://avatars.githubusercontent.com/u/7290435?v=3","gravatar_id":"","url":"https://api.github.com/users/strongqa","html_url":"https://github.com/strongqa","followers_url":"https://api.github.com/users/strongqa/followers","following_url":"https://api.github.com/users/strongqa/following{/other_user}","gists_url":"https://api.github.com/users/strongqa/gists{/gist_id}","starred_url":"https://api.github.com/users/strongqa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongqa/subscriptions","organizations_url":"https://api.github.com/users/strongqa/orgs","repos_url":"https://api.github.com/users/strongqa/repos","events_url":"https://api.github.com/users/strongqa/events{/privacy}","received_events_url":"https://api.github.com/users/strongqa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongqa/howitzer_example","description":"Howitzer example project for demo web application ","fork":false,"url":"https://api.github.com/repos/strongqa/howitzer_example","forks_url":"https://api.github.com/repos/strongqa/howitzer_example/forks","keys_url":"https://api.github.com/repos/strongqa/howitzer_example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongqa/howitzer_example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongqa/howitzer_example/teams","hooks_url":"https://api.github.com/repos/strongqa/howitzer_example/hooks","issue_events_url":"https://api.github.com/repos/strongqa/howitzer_example/issues/events{/number}","events_url":"https://api.github.com/repos/strongqa/howitzer_example/events","assignees_url":"https://api.github.com/repos/strongqa/howitzer_example/assignees{/user}","branches_url":"https://api.github.com/repos/strongqa/howitzer_example/branches{/branch}","tags_url":"https://api.github.com/repos/strongqa/howitzer_example/tags","blobs_url":"https://api.github.com/repos/strongqa/howitzer_example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongqa/howitzer_example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongqa/howitzer_example/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongqa/howitzer_example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongqa/howitzer_example/statuses/{sha}","languages_url":"https://api.github.com/repos/strongqa/howitzer_example/languages","stargazers_url":"https://api.github.com/repos/strongqa/howitzer_example/stargazers","contributors_url":"https://api.github.com/repos/strongqa/howitzer_example/contributors","subscribers_url":"https://api.github.com/repos/strongqa/howitzer_example/subscribers","subscription_url":"https://api.github.com/repos/strongqa/howitzer_example/subscription","commits_url":"https://api.github.com/repos/strongqa/howitzer_example/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongqa/howitzer_example/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongqa/howitzer_example/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongqa/howitzer_example/issues/comments/{number}","contents_url":"https://api.github.com/repos/strongqa/howitzer_example/contents/{+path}","compare_url":"https://api.github.com/repos/strongqa/howitzer_example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongqa/howitzer_example/merges","archive_url":"https://api.github.com/repos/strongqa/howitzer_example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongqa/howitzer_example/downloads","issues_url":"https://api.github.com/repos/strongqa/howitzer_example/issues{/number}","pulls_url":"https://api.github.com/repos/strongqa/howitzer_example/pulls{/number}","milestones_url":"https://api.github.com/repos/strongqa/howitzer_example/milestones{/number}","notifications_url":"https://api.github.com/repos/strongqa/howitzer_example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongqa/howitzer_example/labels{/name}","releases_url":"https://api.github.com/repos/strongqa/howitzer_example/releases{/id}","created_at":"2014-04-10T13:14:46Z","updated_at":"2015-02-12T12:50:18Z","pushed_at":"2015-02-12T12:50:16Z","git_url":"git://github.com/strongqa/howitzer_example.git","ssh_url":"git@github.com:strongqa/howitzer_example.git","clone_url":"https://github.com/strongqa/howitzer_example.git","svn_url":"https://github.com/strongqa/howitzer_example","homepage":null,"size":515,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24"},"html":{"href":"https://github.com/strongqa/howitzer_example/pull/24"},"issue":{"href":"https://api.github.com/repos/strongqa/howitzer_example/issues/24"},"comments":{"href":"https://api.github.com/repos/strongqa/howitzer_example/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/strongqa/howitzer_example/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/strongqa/howitzer_example/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/strongqa/howitzer_example/statuses/cd1ce3e077f1471e9ec511851659e33ed7024b48"}}}}