Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Describe request hooks #2309

Merged
merged 34 commits into from
May 14, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0f5b3ad
Describe request hooks
VasilyStrelyaev Apr 11, 2018
d47a22c
Address Helen's remarks
VasilyStrelyaev Apr 12, 2018
1c4c8dd
Revert an example
VasilyStrelyaev Apr 12, 2018
dc72750
Specify the body type - Buffer
VasilyStrelyaev Apr 12, 2018
accf85d
Change structure and address remarks
VasilyStrelyaev Apr 26, 2018
0118cd1
Add real-life examples
VasilyStrelyaev Apr 27, 2018
bb73c9b
Update TOC
VasilyStrelyaev May 4, 2018
1458509
Fix broken links
VasilyStrelyaev May 4, 2018
e89d007
Update README.md
dirk-pieterse May 10, 2018
2f84503
Update README.md
dirk-pieterse May 10, 2018
1f6b185
Update README.md
dirk-pieterse May 10, 2018
bbe1b18
Update attaching-hooks-to-tests-and-fixtures.md
dirk-pieterse May 10, 2018
aa554fa
Update creating-a-custom-http-request-hook.md
dirk-pieterse May 10, 2018
56221fc
Update logging-http-requests.md
dirk-pieterse May 10, 2018
d300ec8
Update mocking-http-responses.md
dirk-pieterse May 10, 2018
ea36a7f
Update specifying-which-requests-are-handled-by-the-hook.md
dirk-pieterse May 10, 2018
02d7cfa
fix Mikhail's remark
MargaritaLoseva May 10, 2018
0b66070
fix Mikhail's remarks
MargaritaLoseva May 10, 2018
daef822
attaching hooks - fix Mikhail's remarks
MargaritaLoseva May 10, 2018
7dff4e5
specifying-which-requests-are-handled -Fix remarks
MargaritaLoseva May 10, 2018
dc8d8b2
creating-a-custom-http-request-hook - Fix remarks
MargaritaLoseva May 10, 2018
90e7823
logging-http-requests -- fix Mikhail's remark
MargaritaLoseva May 10, 2018
a157230
remove Mocking from header
MargaritaLoseva May 11, 2018
82f1fee
Remove Mocking from header
MargaritaLoseva May 11, 2018
4d023dd
creating-a-custom-http-request-hook Fix remarks
MargaritaLoseva May 11, 2018
b40ff58
mocking-http-responses Fix Mikhail's remarks
MargaritaLoseva May 11, 2018
4fb0c47
formatting added
MargaritaLoseva May 11, 2018
a52a9b2
remove trailing-spaces
MargaritaLoseva May 11, 2018
bf3f3f7
Remove trailing spaces
MargaritaLoseva May 11, 2018
b667a44
mocking-http-responses.md Fix Mikhail's remarks
MargaritaLoseva May 11, 2018
6efaa50
Remove trailing spaces
MargaritaLoseva May 11, 2018
56e10f7
return previous permalink for Readme.md
MargaritaLoseva May 11, 2018
2c80769
return previous permalink for request hooks main topic
MargaritaLoseva May 11, 2018
cabbda8
fix broken link
MargaritaLoseva May 11, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Documentation

> This is a development version of the documentation. The functionality described here may not be included in the current release version. Unreleased functionality may change or be dropped before the next release. Documentation for the release version is available at the [TestCafe website](https://devexpress.github.io/testcafe/documentation/getting-started/).
> This is the documentation's development version. The functionality described here may not be included in the current release version. Unreleased functionality may change or be dropped before the next release. The release version's documentation is available at the [TestCafe website](https://devexpress.github.io/testcafe/documentation/getting-started/).

* [GETTING STARTED](articles/documentation/getting-started/README.md)
* [USING TESTCAFE](articles/documentation/using-testcafe/README.md)
Expand Down Expand Up @@ -60,6 +60,7 @@
* [Assertion API](articles/documentation/test-api/assertions/assertion-api.md)
* [Obtaining Data from the Client](articles/documentation/test-api/obtaining-data-from-the-client/README.md)
* [Examples of Using Client Functions](articles/documentation/test-api/obtaining-data-from-the-client/examples-of-using-client-functions.md)
* [Intercepting and Mocking HTTP Requests](articles/documentation/test-api/intercepting-and-mocking-http-requests.md)
* [Waiting for Page Elements to Appear](articles/documentation/test-api/waiting-for-page-elements-to-appear.md)
* [Authentication](articles/documentation/test-api/authentication/README.md)
* [User Roles](articles/documentation/test-api/authentication/user-roles.md)
Expand Down
1 change: 1 addition & 0 deletions docs/articles/documentation/test-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The following topics describe the API used to manipulate the webpage and check i
* [Selecting Page Elements](selecting-page-elements/README.md)
* [Assertions](assertions/README.md)
* [Obtaining Data From the Client](obtaining-data-from-the-client/README.md)
* [Intercepting and Mocking HTTP Requests](intercepting-and-mocking-http-requests.md)
* [Waiting for Page Elements to Appear](waiting-for-page-elements-to-appear.md)
* [Authentication](authentication/README.md)
* [Pausing the Test](pausing-the-test.md)
Expand Down
12 changes: 12 additions & 0 deletions docs/articles/documentation/test-api/a-z-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ This topic lists test API members in alphabetical order.
* [httpAuth](authentication/http-authentication.md)
* [only](test-code-structure.md#skipping-tests)
* [page](test-code-structure.md#specifying-the-start-webpage)
* [requestHooks](intercepting-and-mocking-http-requests.md#attaching-hooks-to-tests-and-fixtures)
* [skip](test-code-structure.md#skipping-tests)
* [RequestLogger](intercepting-and-mocking-http-requests.md#logging-http-requests)
* [contains](intercepting-and-mocking-http-requests.md#methods)
* [count](intercepting-and-mocking-http-requests.md#methods)
* [clear](intercepting-and-mocking-http-requests.md#methods)
* [requests](intercepting-and-mocking-http-requests.md#properties)
* [RequestMock](intercepting-and-mocking-http-requests.md#mocking-http-responses)
* [onRequestTo](intercepting-and-mocking-http-requests.md#onrequestto)
* [respond](intercepting-and-mocking-http-requests.md#respond)
* [Role](authentication/user-roles.md)
* [anonymous](authentication/user-roles.md#anonymous-role)
* [Selector](selecting-page-elements/selectors/creating-selectors.md)
Expand Down Expand Up @@ -47,8 +56,10 @@ This topic lists test API members in alphabetical order.
* [httpAuth](authentication/http-authentication.md)
* [only](test-code-structure.md#skipping-tests)
* [page](test-code-structure.md#specifying-the-start-webpage)
* [requestHooks](intercepting-and-mocking-http-requests.md#attaching-hooks-to-tests-and-fixtures)
* [skip](test-code-structure.md#skipping-tests)
* [Test Controller](test-code-structure.md#test-controller)
* [addRequestHooks](intercepting-and-mocking-http-requests.md#attaching-hooks-to-tests-and-fixtures)
* [clearUpload](actions/upload.md#clear-file-upload-input)
* [click](actions/click.md)
* [ctx](test-code-structure.md#sharing-variables-between-test-hooks-and-test-code)
Expand Down Expand Up @@ -81,6 +92,7 @@ This topic lists test API members in alphabetical order.
* [maximizeWindow](actions/resize-window.md#maximizing-the-window)
* [navigate](actions/navigate.md)
* [pressKey](actions/press-key.md)
* [removeRequestHooks](intercepting-and-mocking-http-requests.md#attaching-hooks-to-tests-and-fixtures)
* [resizeWindow](actions/resize-window.md#setting-the-window-size)
* [resizeWindowToFitDevice](actions/resize-window.md#fitting-the-window-into-a-particular-device)
* [rightClick](actions/right-click.md)
Expand Down
Loading