{"action":"created","comment":{"url":"https://api.github.com/repos/DevExpress/testcafe/pulls/comments/65696092","id":65696092,"diff_hunk":"@@ -0,0 +1,152 @@\n+---\n+layout: docs\n+title: Getting Started\n+permalink: /documentation/getting-started/\n+---\n+# Getting Started\n+\n+This guide provides step-by-step instructions on how to create a functional web test with TestCafe and contains the following sections.\n+\n+* [Installing TestCafe](#installing-testcafe)\n+* [Creating a Test](#creating-a-test)\n+* [Running the Test](#running-the-test)\n+* [Viewing the Test Results](#viewing-the-test-results)\n+* [Adding Test Code](#adding-test-code)\n+  * [Performing Actions on the Page](#performing-actions-on-the-page)\n+  * [Observing the Page State](#observing-the-page-state)\n+  * [Assertions](#assertions)\n+\n+## Installing TestCafe\n+\n+Make sure that [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) are installed on your computer, then run a single command:\n+\n+```bash\n+npm install --save-dev testcafe\n+```\n+\n+## Creating a Test\n+\n+To create a test, create a new .js file anywhere on your computer.\n+This file must have the special structure: tests must be organized into fixtures. So, first you need to declare a fixture by using the [fixture](../test-api/test-code-structure.md#fixtures) function.\n+\n+You can optionally specify a start page URL for the fixture by using the [page](../test-api/test-code-structure.md#specifying-the-start-webpage) function.\n+In this tutorial, you will create a test for the [http://testcafe.devexpress.com/example](http://testcafe.devexpress.com/example) sample page.\n+\n+Then create the [test](/test-api/test-code-structure.md#tests) function where you will further place test code.\n+\n+```js\n+fixture `Getting Started`\n+    .page('http://testcafe.devexpress.com/example');\n+\n+test('MyTest', async t => {\n+    // Test code\n+});\n+```\n+\n+## Running the Test\n+\n+You can simply run the test from a command shell, by calling a single command where you specify the [target browsers](../using-testcafe/command-line-interface.md#browser-list) and [file path](../using-testcafe/command-line-interface.md#file-pathglob-pattern).\n+\n+```bash\n+testcafe ie,chrome mytest.js\n+```\n+\n+TestCafe will automatically open the chosen browsers and start the test execution within them simultaneously.\n+\n+For more information on how to configure the test run, see [Command Line Interface](../using-testcafe/command-line-interface.md).\n+\n+## Viewing the Test Results\n+\n+While the test is running, TestCafe is gathering information about the test run and outputing the report right into a command shell.\n+\n+IMAGE\n+\n+For more information, see [Reporters](../using-testcafe/common-concepts/reporters.md).\n+\n+## Adding Test Code","path":"docs/articles/documentation/getting-started/index.md","position":66,"original_position":66,"commit_id":"a06c0937ab885ab311bb54eeb01ad50b2946922b","original_commit_id":"a06c0937ab885ab311bb54eeb01ad50b2946922b","user":{"login":"VasilyStrelyaev","id":11459924,"avatar_url":"https://avatars.githubusercontent.com/u/11459924?v=3","gravatar_id":"","url":"https://api.github.com/users/VasilyStrelyaev","html_url":"https://github.com/VasilyStrelyaev","followers_url":"https://api.github.com/users/VasilyStrelyaev/followers","following_url":"https://api.github.com/users/VasilyStrelyaev/following{/other_user}","gists_url":"https://api.github.com/users/VasilyStrelyaev/gists{/gist_id}","starred_url":"https://api.github.com/users/VasilyStrelyaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasilyStrelyaev/subscriptions","organizations_url":"https://api.github.com/users/VasilyStrelyaev/orgs","repos_url":"https://api.github.com/users/VasilyStrelyaev/repos","events_url":"https://api.github.com/users/VasilyStrelyaev/events{/privacy}","received_events_url":"https://api.github.com/users/VasilyStrelyaev/received_events","type":"User","site_admin":false},"body":"Moreover, the whole flow gets strange\r\n\r\nRunning the Test\r\nViewing Test Results\r\nWriting Test Code","created_at":"2016-06-03T12:02:09Z","updated_at":"2016-06-03T12:02:09Z","html_url":"https://github.com/DevExpress/testcafe/pull/534#discussion_r65696092","pull_request_url":"https://api.github.com/repos/DevExpress/testcafe/pulls/534","_links":{"self":{"href":"https://api.github.com/repos/DevExpress/testcafe/pulls/comments/65696092"},"html":{"href":"https://github.com/DevExpress/testcafe/pull/534#discussion_r65696092"},"pull_request":{"href":"https://api.github.com/repos/DevExpress/testcafe/pulls/534"}}},"pull_request":{"url":"https://api.github.com/repos/DevExpress/testcafe/pulls/534","id":69972229,"html_url":"https://github.com/DevExpress/testcafe/pull/534","diff_url":"https://github.com/DevExpress/testcafe/pull/534.diff","patch_url":"https://github.com/DevExpress/testcafe/pull/534.patch","issue_url":"https://api.github.com/repos/DevExpress/testcafe/issues/534","number":534,"state":"open","locked":false,"title":"[docs] GS added","user":{"login":"MargaritaLoseva","id":12034505,"avatar_url":"https://avatars.githubusercontent.com/u/12034505?v=3","gravatar_id":"","url":"https://api.github.com/users/MargaritaLoseva","html_url":"https://github.com/MargaritaLoseva","followers_url":"https://api.github.com/users/MargaritaLoseva/followers","following_url":"https://api.github.com/users/MargaritaLoseva/following{/other_user}","gists_url":"https://api.github.com/users/MargaritaLoseva/gists{/gist_id}","starred_url":"https://api.github.com/users/MargaritaLoseva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MargaritaLoseva/subscriptions","organizations_url":"https://api.github.com/users/MargaritaLoseva/orgs","repos_url":"https://api.github.com/users/MargaritaLoseva/repos","events_url":"https://api.github.com/users/MargaritaLoseva/events{/privacy}","received_events_url":"https://api.github.com/users/MargaritaLoseva/received_events","type":"User","site_admin":false},"body":"closes #283 \r\n\\cc @inikulin, @VasilyStrelyaev  \r\nPlease, review only the text (Since test API is not complete, code snippets may not work properly and an image is not added yet. Links to API sections don't work as well.)","created_at":"2016-05-13T10:09:21Z","updated_at":"2016-06-03T12:02:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb54fec4c4959427d8b6ee871b184ea4cd5a38de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DevExpress/testcafe/pulls/534/commits","review_comments_url":"https://api.github.com/repos/DevExpress/testcafe/pulls/534/comments","review_comment_url":"https://api.github.com/repos/DevExpress/testcafe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DevExpress/testcafe/issues/534/comments","statuses_url":"https://api.github.com/repos/DevExpress/testcafe/statuses/a06c0937ab885ab311bb54eeb01ad50b2946922b","head":{"label":"MargaritaLoseva:GS","ref":"GS","sha":"a06c0937ab885ab311bb54eeb01ad50b2946922b","user":{"login":"MargaritaLoseva","id":12034505,"avatar_url":"https://avatars.githubusercontent.com/u/12034505?v=3","gravatar_id":"","url":"https://api.github.com/users/MargaritaLoseva","html_url":"https://github.com/MargaritaLoseva","followers_url":"https://api.github.com/users/MargaritaLoseva/followers","following_url":"https://api.github.com/users/MargaritaLoseva/following{/other_user}","gists_url":"https://api.github.com/users/MargaritaLoseva/gists{/gist_id}","starred_url":"https://api.github.com/users/MargaritaLoseva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MargaritaLoseva/subscriptions","organizations_url":"https://api.github.com/users/MargaritaLoseva/orgs","repos_url":"https://api.github.com/users/MargaritaLoseva/repos","events_url":"https://api.github.com/users/MargaritaLoseva/events{/privacy}","received_events_url":"https://api.github.com/users/MargaritaLoseva/received_events","type":"User","site_admin":false},"repo":{"id":50342524,"name":"testcafe","full_name":"MargaritaLoseva/testcafe","owner":{"login":"MargaritaLoseva","id":12034505,"avatar_url":"https://avatars.githubusercontent.com/u/12034505?v=3","gravatar_id":"","url":"https://api.github.com/users/MargaritaLoseva","html_url":"https://github.com/MargaritaLoseva","followers_url":"https://api.github.com/users/MargaritaLoseva/followers","following_url":"https://api.github.com/users/MargaritaLoseva/following{/other_user}","gists_url":"https://api.github.com/users/MargaritaLoseva/gists{/gist_id}","starred_url":"https://api.github.com/users/MargaritaLoseva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MargaritaLoseva/subscriptions","organizations_url":"https://api.github.com/users/MargaritaLoseva/orgs","repos_url":"https://api.github.com/users/MargaritaLoseva/repos","events_url":"https://api.github.com/users/MargaritaLoseva/events{/privacy}","received_events_url":"https://api.github.com/users/MargaritaLoseva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MargaritaLoseva/testcafe","description":"","fork":true,"url":"https://api.github.com/repos/MargaritaLoseva/testcafe","forks_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/forks","keys_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/teams","hooks_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/hooks","issue_events_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/issues/events{/number}","events_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/events","assignees_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/assignees{/user}","branches_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/branches{/branch}","tags_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/tags","blobs_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/statuses/{sha}","languages_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/languages","stargazers_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/stargazers","contributors_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/contributors","subscribers_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/subscribers","subscription_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/subscription","commits_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/contents/{+path}","compare_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/merges","archive_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/downloads","issues_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/issues{/number}","pulls_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/pulls{/number}","milestones_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/milestones{/number}","notifications_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/labels{/name}","releases_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/releases{/id}","deployments_url":"https://api.github.com/repos/MargaritaLoseva/testcafe/deployments","created_at":"2016-01-25T10:12:58Z","updated_at":"2016-01-25T10:13:00Z","pushed_at":"2016-06-03T10:45:12Z","git_url":"git://github.com/MargaritaLoseva/testcafe.git","ssh_url":"git@github.com:MargaritaLoseva/testcafe.git","clone_url":"https://github.com/MargaritaLoseva/testcafe.git","svn_url":"https://github.com/MargaritaLoseva/testcafe","homepage":null,"size":25519,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"DevExpress:master","ref":"master","sha":"cd11568cf57828a226a0a00c4f0a0685c2d7a3a3","user":{"login":"DevExpress","id":4243232,"avatar_url":"https://avatars.githubusercontent.com/u/4243232?v=3","gravatar_id":"","url":"https://api.github.com/users/DevExpress","html_url":"https://github.com/DevExpress","followers_url":"https://api.github.com/users/DevExpress/followers","following_url":"https://api.github.com/users/DevExpress/following{/other_user}","gists_url":"https://api.github.com/users/DevExpress/gists{/gist_id}","starred_url":"https://api.github.com/users/DevExpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevExpress/subscriptions","organizations_url":"https://api.github.com/users/DevExpress/orgs","repos_url":"https://api.github.com/users/DevExpress/repos","events_url":"https://api.github.com/users/DevExpress/events{/privacy}","received_events_url":"https://api.github.com/users/DevExpress/received_events","type":"Organization","site_admin":false},"repo":{"id":34262857,"name":"testcafe","full_name":"DevExpress/testcafe","owner":{"login":"DevExpress","id":4243232,"avatar_url":"https://avatars.githubusercontent.com/u/4243232?v=3","gravatar_id":"","url":"https://api.github.com/users/DevExpress","html_url":"https://github.com/DevExpress","followers_url":"https://api.github.com/users/DevExpress/followers","following_url":"https://api.github.com/users/DevExpress/following{/other_user}","gists_url":"https://api.github.com/users/DevExpress/gists{/gist_id}","starred_url":"https://api.github.com/users/DevExpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevExpress/subscriptions","organizations_url":"https://api.github.com/users/DevExpress/orgs","repos_url":"https://api.github.com/users/DevExpress/repos","events_url":"https://api.github.com/users/DevExpress/events{/privacy}","received_events_url":"https://api.github.com/users/DevExpress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DevExpress/testcafe","description":"","fork":false,"url":"https://api.github.com/repos/DevExpress/testcafe","forks_url":"https://api.github.com/repos/DevExpress/testcafe/forks","keys_url":"https://api.github.com/repos/DevExpress/testcafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevExpress/testcafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevExpress/testcafe/teams","hooks_url":"https://api.github.com/repos/DevExpress/testcafe/hooks","issue_events_url":"https://api.github.com/repos/DevExpress/testcafe/issues/events{/number}","events_url":"https://api.github.com/repos/DevExpress/testcafe/events","assignees_url":"https://api.github.com/repos/DevExpress/testcafe/assignees{/user}","branches_url":"https://api.github.com/repos/DevExpress/testcafe/branches{/branch}","tags_url":"https://api.github.com/repos/DevExpress/testcafe/tags","blobs_url":"https://api.github.com/repos/DevExpress/testcafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevExpress/testcafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevExpress/testcafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevExpress/testcafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevExpress/testcafe/statuses/{sha}","languages_url":"https://api.github.com/repos/DevExpress/testcafe/languages","stargazers_url":"https://api.github.com/repos/DevExpress/testcafe/stargazers","contributors_url":"https://api.github.com/repos/DevExpress/testcafe/contributors","subscribers_url":"https://api.github.com/repos/DevExpress/testcafe/subscribers","subscription_url":"https://api.github.com/repos/DevExpress/testcafe/subscription","commits_url":"https://api.github.com/repos/DevExpress/testcafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevExpress/testcafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevExpress/testcafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevExpress/testcafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevExpress/testcafe/contents/{+path}","compare_url":"https://api.github.com/repos/DevExpress/testcafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevExpress/testcafe/merges","archive_url":"https://api.github.com/repos/DevExpress/testcafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevExpress/testcafe/downloads","issues_url":"https://api.github.com/repos/DevExpress/testcafe/issues{/number}","pulls_url":"https://api.github.com/repos/DevExpress/testcafe/pulls{/number}","milestones_url":"https://api.github.com/repos/DevExpress/testcafe/milestones{/number}","notifications_url":"https://api.github.com/repos/DevExpress/testcafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevExpress/testcafe/labels{/name}","releases_url":"https://api.github.com/repos/DevExpress/testcafe/releases{/id}","deployments_url":"https://api.github.com/repos/DevExpress/testcafe/deployments","created_at":"2015-04-20T13:43:28Z","updated_at":"2016-05-06T11:53:58Z","pushed_at":"2016-06-03T10:24:16Z","git_url":"git://github.com/DevExpress/testcafe.git","ssh_url":"git@github.com:DevExpress/testcafe.git","clone_url":"https://github.com/DevExpress/testcafe.git","svn_url":"https://github.com/DevExpress/testcafe","homepage":null,"size":25797,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":62,"forks":14,"open_issues":62,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DevExpress/testcafe/pulls/534"},"html":{"href":"https://github.com/DevExpress/testcafe/pull/534"},"issue":{"href":"https://api.github.com/repos/DevExpress/testcafe/issues/534"},"comments":{"href":"https://api.github.com/repos/DevExpress/testcafe/issues/534/comments"},"review_comments":{"href":"https://api.github.com/repos/DevExpress/testcafe/pulls/534/comments"},"review_comment":{"href":"https://api.github.com/repos/DevExpress/testcafe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DevExpress/testcafe/pulls/534/commits"},"statuses":{"href":"https://api.github.com/repos/DevExpress/testcafe/statuses/a06c0937ab885ab311bb54eeb01ad50b2946922b"}}}}
{"actor":{"display_login":"VasilyStrelyaev"}}