You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/kaneai-network-assertions.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,32 +46,32 @@ This is useful when you need to ensure that API calls, response codes, payloads,
46
46
47
47
# Let's see how to add Network Assertions in a Test
48
48
49
-
- Start a Desktop/Mobile Web Test.
49
+
-**Start a test session** (Desktop or Mobile Web).
50
50
51
51
- To add Network Assertions you have to make some API calls. After going to your desired site or hitting API request, you can see the Network calls made so far through the **Assert Network Logs** option available in the " / " commands.
- Here you will find all the Network requests made in this session so far, you can filter the requests on basis of **Statuses** or **Methods**:
57
+
- Here you will find all the Network requests made in this session so far, you can filter the requests on basis of **Status Code** or **HTTP Methods**:
- You can select specific keys from the Request Headers or add entire Request or Response block in the Assertion by clicking on the `Add Assertion`. All the specified values will be asserted in a single step.
61
+
- You can select specific keys from the **Request Headers**, or add entire **Request** or **Response blocks** in the assertion by clicking on `Add Assertion`. All chosen values are validated in a single step.
0 commit comments