artes 1.4.7 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +668 -668
  2. package/cucumber.config.js +223 -223
  3. package/docs/emulationDevicesList.md +152 -152
  4. package/docs/functionDefinitions.md +2401 -2401
  5. package/docs/stepDefinitions.md +402 -402
  6. package/executer.js +479 -479
  7. package/index.js +50 -50
  8. package/package.json +52 -52
  9. package/src/helper/contextManager/browserManager.js +74 -74
  10. package/src/helper/contextManager/requestManager.js +23 -23
  11. package/src/helper/controller/elementController.js +203 -185
  12. package/src/helper/controller/pomCollector.js +82 -82
  13. package/src/helper/executers/cleaner.js +19 -19
  14. package/src/helper/executers/exporter.js +15 -15
  15. package/src/helper/executers/helper.js +110 -110
  16. package/src/helper/executers/projectCreator.js +206 -206
  17. package/src/helper/executers/reportGenerator.js +70 -70
  18. package/src/helper/executers/testRunner.js +28 -28
  19. package/src/helper/executers/versionChecker.js +31 -31
  20. package/src/helper/imports/commons.js +57 -57
  21. package/src/helper/stepFunctions/APIActions.js +495 -495
  22. package/src/helper/stepFunctions/assertions.js +989 -989
  23. package/src/helper/stepFunctions/browserActions.js +22 -22
  24. package/src/helper/stepFunctions/elementInteractions.js +60 -60
  25. package/src/helper/stepFunctions/exporter.js +19 -19
  26. package/src/helper/stepFunctions/frameActions.js +72 -72
  27. package/src/helper/stepFunctions/keyboardActions.js +66 -66
  28. package/src/helper/stepFunctions/mouseActions.js +83 -83
  29. package/src/helper/stepFunctions/pageActions.js +43 -43
  30. package/src/hooks/context.js +15 -15
  31. package/src/hooks/hooks.js +215 -215
  32. package/src/stepDefinitions/API.steps.js +310 -310
  33. package/src/stepDefinitions/assertions.steps.js +1092 -1092
  34. package/src/stepDefinitions/browser.steps.js +7 -7
  35. package/src/stepDefinitions/frameActions.steps.js +76 -76
  36. package/src/stepDefinitions/keyboardActions.steps.js +265 -265
  37. package/src/stepDefinitions/mouseActions.steps.js +378 -378
  38. package/src/stepDefinitions/page.steps.js +71 -71
  39. package/src/stepDefinitions/random.steps.js +188 -188
  40. package/status-formatter.js +138 -138
@@ -1,402 +1,402 @@
1
- # Step Definitions
2
-
3
- ## Table of Contents
4
-
5
- - [Mouse Actions](#mouse-actions)
6
- - [Keyboard Actions](#keyboard-actions)
7
- - [Page Actions](#page-actions)
8
- - [Frame Actions](#frame-actions)
9
- - [API Actions](#api-actions)
10
- - [Variable Management](#variable-management)
11
- - [Debugging / Console Output](#debugging--console-output)
12
- - [Generic HTTP Request](#generic-http-request)
13
- - [Assertions](#assertions)
14
-
15
- ---
16
-
17
- # Mouse Actions
18
-
19
- ## Click Actions
20
-
21
- - User clicks `{string}`
22
- - User clicks `{string}` with force
23
- - User clicks `{string}` at `{int}, {int}` position
24
- - User clicks `{string}` at `{int}, {int}` position with force
25
- - User clicks at `{int}, {int}` coordinates
26
- - User clicks at `{int}, {int}` coordinates with click count `{int}` and delay `{int}`
27
- - User clicks at `{int}, {int}` coordinates with force
28
- - User clicks `{string}` with button `{string}`
29
- - User clicks `{string}` with button `{string}` and force
30
-
31
- ## Double Click Actions
32
-
33
- - User double clicks `{string}`
34
- - User double clicks `{string}` with force
35
- - User double clicks `{string}` at `{int}, {int}` position
36
- - User double clicks `{string}` at `{int}, {int}` position with force
37
- - User double clicks at `{int}, {int}` coordinates
38
- - User double clicks at `{int}, {int}` coordinates with click count `{int}` and delay `{int}`
39
- - User double clicks at `{int}, {int}` coordinates with force
40
-
41
- ## Mouse Movement Actions
42
-
43
- - User moves to `{int}, {int}` coordinates
44
- - User scrolls the mouse wheel at `{int}, {int}` coordinates
45
-
46
- ## Hover Actions
47
-
48
- - User hovers over `{string}`
49
- - User hovers over `{string}` with force
50
- - User hovers over `{string}` at `{int}, {int}` position
51
- - User hovers over `{string}` at `{int}, {int}` position with force
52
-
53
- ## Focus Actions
54
-
55
- - User focuses on `{string}`
56
- - User focuses on `{string}` with force
57
- - User focuses on `{string}` at `{int}, {int}` position
58
- - User focuses on `{string}` at `{int}, {int}` position with force
59
-
60
- ## Drag Actions
61
-
62
- - User drags `{string}` to `{string}`
63
- - User drags `{string}` to `{int}, {int}` position
64
-
65
- ## Selection Actions
66
-
67
- - User selects by value `{string}` from `{string}`
68
- - User selects by text `{string}` from `{string}`
69
-
70
- ## Checkbox Actions
71
-
72
- - User checks `{string}`
73
- - User unchecks `{string}`
74
-
75
- ## Scroll Actions
76
-
77
- - User scrolls into view for `{string}`
78
-
79
- ---
80
-
81
- # Keyboard Actions
82
-
83
- ## Press Actions
84
-
85
- - User presses `{string}` on `{string}`
86
- - User presses keys `{string}` sequentially on `{string}`
87
- - User presses keys `{string}` sequentially with delay `{int}` on `{string}`
88
-
89
- ## Input Actions
90
-
91
- - User types `{string}` in `{string}`
92
- - User types `{string}` with delay `{int}`
93
- - User inserts text `{string}`
94
- - User clears `{string}`
95
-
96
- ## Selection Actions
97
-
98
- - User selects text in `{string}`
99
-
100
- ## File Input Actions
101
-
102
- - User sets input files `{string}` for `{string}`
103
-
104
- ## Key State Actions
105
-
106
- - User holds down `{string}`
107
- - User releases `{string}`
108
- - User presses `{string}`
109
-
110
- ---
111
-
112
- # Page Actions
113
-
114
- ## Navigation Actions
115
-
116
- - User navigates to `{string}` page
117
- - User navigates previous page
118
- - User navigates next page
119
-
120
- ## URL Actions
121
-
122
- - User gets URL of page
123
-
124
- ## Wait Actions
125
-
126
- - User waits `{int}` seconds
127
- - User waits `{int}` milliseconds
128
- - User waits `{int}` minutes
129
-
130
- ---
131
-
132
- # Frame Actions
133
-
134
- ## Screenshot Actions
135
-
136
- - User takes a screenshot of `{string}`
137
-
138
- ## Content and Locator Actions
139
-
140
- - User gets the content frame of `{string}`
141
- - User gets the frame locator of `{string}`
142
-
143
- ## Element Retrieval Actions
144
-
145
- - User gets the `{int} th` element of `{string}`
146
- - User gets the first element of `{string}`
147
- - User gets the last element of `{string}`
148
- - User filters elements of `{string}` with filter `{string}`
149
-
150
- ## Counting Actions
151
-
152
- - User counts the elements of `{string}`
153
-
154
- ## Accessibility-Based Retrieval Actions
155
-
156
- - User gets the element with alt text `{string}`
157
- - User gets the element with label `{string}`
158
- - User gets the element with placeholder `{string}`
159
- - User gets the element with role `{string}`
160
- - User gets the element with testId `{string}`
161
- - User gets the element with testId `{string}` (assuming you meant testId twice)
162
-
163
- ---
164
-
165
- # API Actions
166
-
167
- ## GET Requests
168
-
169
- - User sends GET request to `{string}`
170
- - User sends GET request to `{string}` with payload:
171
- - User sends GET request to `{string}` and saves `{string}` variables
172
- - User sends GET request to `{string}` with payload and saves `{string}` variables
173
-
174
- ## HEAD Requests
175
-
176
- - User sends HEAD request to `{string}`
177
-
178
- ## POST Requests
179
-
180
- - User sends POST request to `{string}` with payload:
181
- - User sends POST request to `{string}` with payload and saves `{string}` variables
182
- - User sends multipart POST request to `{string}` with payload:
183
- - User sends multipart POST request to `{string}` with payload and `{string}` variables
184
-
185
- ## PUT Requests
186
-
187
- - User sends PUT request to `{string}` with payload:
188
- - User sends PUT request to `{string}` with payload and saves `{string}` variables
189
- - User sends multipart PUT request to `{string}` with payload:
190
- - User sends multipart PUT request to `{string}` with payload and saves `{string}` variables
191
-
192
- ## PATCH Requests
193
-
194
- - User sends PATCH request to `{string}` with payload:
195
- - User sends PATCH request to `{string}` with payload and saves `{string}` variables
196
- - User sends multipart PATCH request to `{string}` with payload:
197
- - User sends multipart PATCH request to `{string}` with payload and saves `{string}` variables
198
-
199
- ## DELETE Requests
200
-
201
- - User sends DELETE request to `{string}`
202
- - User sends DELETE request to `{string}` and saves `{string}` variables
203
- - User sends DELETE request to `{string}` with payload:
204
- - User sends DELETE request to `{string}` with payload and saves `{string}` variables
205
-
206
- ---
207
-
208
- # Variable Management
209
-
210
- ## Manual Variable Assignment
211
-
212
- - User saves `{string}` variable from response as `{string}`
213
- - User saves `{string}` variable as `{string}`
214
-
215
- ## Random Variable Management
216
-
217
- ### Random Words
218
-
219
- - User sets random word as `{string}`
220
- - User sets random word that has `{int}` character as `{string}`
221
- - User sets random word that has character between `{int}` and `{int}` as `{string}`
222
- - User sets random words as `{string}`
223
- - User sets random `{int}` words as `{string}`
224
- - User sets random words that range between `{int}` and `{int}` as `{string}`
225
-
226
- ### Random Numbers
227
-
228
- - User sets random number as `{string}`
229
- - User sets random number from `{int}` to `{int}` as `{string}`
230
-
231
- ### Random Text Content
232
-
233
- - User sets random paragraph as `{string}`
234
- - User sets random paragraph that range between `{int}` and `{int}` as `{string}`
235
- - User sets random sentences that has `{int}` paragraph as `{string}`
236
-
237
- ### Random Characters & Alphanumeric
238
-
239
- - User sets random characters from `{string}` as `{string}`
240
- - User sets random alphanumeric in range from `{int}` to `{int}` as `{string}`
241
-
242
- ### Random Personal Information
243
-
244
- - User sets random email as `{string}`
245
- - User sets random fullname as `{string}`
246
- - User sets random first name as `{string}`
247
- - User sets random last name as `{string}`
248
- - User sets random middle name as `{string}`
249
-
250
- ### Random Internet Data
251
-
252
- - User sets random url as `{string}`
253
-
254
- ### Random Dates
255
-
256
- - User sets random date between `{int}` and `{int}` as `{string}`
257
- - User sets date `{int}` days after today as `{string}`
258
- - User sets date `{int}` days before today as `{string}`
259
-
260
- ### Random from API Response
261
-
262
- - User sends GET request to `{string}` and save `{string}` variable from `{string}` array as `{string}` randomly
263
-
264
- ### Random from Array
265
-
266
- - User sets random value from given `{string}` array as `{string}`
267
-
268
- ---
269
-
270
- # Debugging / Console Output
271
-
272
- - User wants to see saved variables
273
- - User wants to see {string} variable
274
- - User wants to see request body
275
- - User wants to see response body
276
-
277
- ---
278
-
279
- # Random Data Generation
280
-
281
- - User sets random words as `{string}` variable
282
- - User sets random number from `{int}` to `{int}` as `{string}` variable
283
-
284
- # API Data Extraction
285
-
286
- - User sends GET request to `{string}` and save `{string}` variable as a `{string}` randomly
287
-
288
- ---
289
-
290
- ## Assertions
291
-
292
- - User expects `{string}` should be attached
293
- - User expects `{string}` should be checked
294
- - User expects `{string}` should be disabled
295
- - User expects `{string}` should be editable
296
- - User expects `{string}` should be empty
297
- - User expects `{string}` should be enabled
298
- - User expects `{string}` should be focused
299
- - User expects `{string}` should be hidden
300
- - User expects `{string}` should be on the screen
301
- - User expects `{string}` should be visible
302
- - User expects `{string}` should have `{string}` text
303
- - User expects `{string}` should have `{string}` description
304
- - User expects `{string}` should have `{string}` name
305
- - User expects `{string}` should have `{string}` attribute with `{string}` value
306
- - User expects `{string}` should have `{string}` class
307
- - User expects `{string}` should have `{int}` count
308
- - User expects `{string}` should have `{string}` CSS property with `{string}` value
309
- - User expects `{string}` should have `{string}` id
310
- - User expects `{string}` should have `{string}` JavaScript property with `{string}` value
311
- - User expects `{string}` should have `{string}` role
312
- - User expects `{string}` should have a screenshot
313
- - User expects `{string}` should match `{string}` text
314
- - User expects `{string}` should have `{string}` value
315
- - User expects `{string}` should have `{string}` values
316
- - User expects `{string}` should not be attached
317
- - User expects `{string}` should not be checked
318
- - User expects `{string}` should not be disabled
319
- - User expects `{string}` should not be editable
320
- - User expects `{string}` should not be empty
321
- - User expects `{string}` should not be enabled
322
- - User expects `{string}` should not be focused
323
- - User expects `{string}` should not be hidden
324
- - User expects `{string}` should not be on screen
325
- - User expects `{string}` should not be visible
326
- - User expects `{string}` should not have `{string}` text
327
- - User expects `{string}` should not have `{string}` description
328
- - User expects `{string}` should not have `{string}` name
329
- - User expects `{string}` should not have `{string}` attribute with `{string}` value
330
- - User expects `{string}` should not have `{string}` class
331
- - User expects count of `{string}` should not be `{int}`
332
- - User expects `{string}` should not have `{string}` CSS property with `{string}` value
333
- - User expects `{string}` should not have `{string}` id
334
- - User expects `{string}` should not have `{string}` JavaScript property with `{string}` value
335
- - User expects `{string}` should not have `{string}` role
336
- - User expects `{string}` should not match `{string}` text
337
- - User expects `{string}` should not have `{string}` value
338
- - User expects `{string}` should not have `{string}` values
339
- - User expects the page should not have a screenshot
340
- - User expects the page should not have `{string}` title
341
- - User expects the page url should not be `{string}`
342
- - User is not on `{string}` page
343
- - The response should not be OK
344
- - User expects `{string}` should be `{string}` text
345
- - User expects `{string}` should be close to `{float}` with precision `{int}`
346
- - User expects `{string}` should be defined
347
- - User expects `{string}` should be falsy
348
- - User expects `{string}` should be greater than `{float}`
349
- - User expects `{string}` should be greater than or equal to `{float}`
350
- - User expects `{string}` should be an instance of `{string}`
351
- - User expects `{string}` should be less than `{float}`
352
- - User expects `{string}` should be less than or equal to `{float}`
353
- - User expects `{string}` should be NaN
354
- - User expects `{string}` should be null
355
- - User expects `{string}` should be truthy
356
- - User expects `{string}` should be undefined
357
- - User expects `{string}` should have `{string}` substring
358
- - User expects `{string}` should contain equal `{string}`
359
- - User expects `{string}` should equal `{int}`
360
- - User expects length of `{string}` should be `{int}`
361
- - User expects `{string}` should have `{string}` property
362
- - User expects `{string}` should match `{string}` regex
363
- - User expects `{string}` should match `{string}` object
364
- - User expects `{string}` should strictly equal `{string}`
365
- - The function should throw
366
- - User expects `{string}` should be any instance of `{string}`
367
- - User expects `{string}` may be anything
368
- - User expects `{string}` should contain `{string}` array elements
369
- - User expects `{string}` should be close to `{float}` with precision `{int}`
370
- - User expects `{string}` should contain `{string}` object properties
371
- - User expects `{string}` should have `{string}` substring
372
- - User expects `{string}` should match `{string}` regex
373
- - User expects `{string}` should not have `{string}` text
374
- - User expects `{string}` should not be close to `{float}` with precision `{int}`
375
- - User expects `{string}` should not be defined
376
- - User expects `{string}` should not be falsy
377
- - User expects `{string}` should not be greater than `{float}`
378
- - User expects `{string}` should not be greater than or equal to `{float}`
379
- - User expects `{string}` should not be instance of `{string}`
380
- - User expects `{string}` should not be less than `{float}`
381
- - User expects `{string}` should not be less than or equal to `{float}`
382
- - User expects `{string}` should not be NaN
383
- - User expects `{string}` should not be null
384
- - User expects `{string}` should not be truthy
385
- - User expects `{string}` should not be undefined
386
- - User expects `{string}` should not have `{string}` substring
387
- - User expects `{string}` should not contain equal `{string}`
388
- - User expects `{string}` should not equal `{string}`
389
- - User expects length of `{string}` should not be `{int}`
390
- - User expects `{string}` should not have `{string}` property
391
- - User expects `{string}` should not match `{string}` regex
392
- - User expects `{string}` should not match `{string}` object
393
- - The function should not throw
394
- - User expects `{string}` should not be any instance of `{string}`
395
- - User expects `{string}` may not be anything
396
- - User expects `{string}` should not contain `{string}` array elements
397
- - User expects `{string}` should not be close to `{float}` with precision `{int}`
398
- - User expects `{string}` should not contain `{string}` object properties
399
- - User expects `{string}` should not contain `{string}` substring
400
- - User expects `{string}` should not match `{string}` regex
401
- - User expects that response should have `{int}` status code
402
- - User expects that response body should match `{string}` schema
1
+ # Step Definitions
2
+
3
+ ## Table of Contents
4
+
5
+ - [Mouse Actions](#mouse-actions)
6
+ - [Keyboard Actions](#keyboard-actions)
7
+ - [Page Actions](#page-actions)
8
+ - [Frame Actions](#frame-actions)
9
+ - [API Actions](#api-actions)
10
+ - [Variable Management](#variable-management)
11
+ - [Debugging / Console Output](#debugging--console-output)
12
+ - [Generic HTTP Request](#generic-http-request)
13
+ - [Assertions](#assertions)
14
+
15
+ ---
16
+
17
+ # Mouse Actions
18
+
19
+ ## Click Actions
20
+
21
+ - User clicks `{string}`
22
+ - User clicks `{string}` with force
23
+ - User clicks `{string}` at `{int}, {int}` position
24
+ - User clicks `{string}` at `{int}, {int}` position with force
25
+ - User clicks at `{int}, {int}` coordinates
26
+ - User clicks at `{int}, {int}` coordinates with click count `{int}` and delay `{int}`
27
+ - User clicks at `{int}, {int}` coordinates with force
28
+ - User clicks `{string}` with button `{string}`
29
+ - User clicks `{string}` with button `{string}` and force
30
+
31
+ ## Double Click Actions
32
+
33
+ - User double clicks `{string}`
34
+ - User double clicks `{string}` with force
35
+ - User double clicks `{string}` at `{int}, {int}` position
36
+ - User double clicks `{string}` at `{int}, {int}` position with force
37
+ - User double clicks at `{int}, {int}` coordinates
38
+ - User double clicks at `{int}, {int}` coordinates with click count `{int}` and delay `{int}`
39
+ - User double clicks at `{int}, {int}` coordinates with force
40
+
41
+ ## Mouse Movement Actions
42
+
43
+ - User moves to `{int}, {int}` coordinates
44
+ - User scrolls the mouse wheel at `{int}, {int}` coordinates
45
+
46
+ ## Hover Actions
47
+
48
+ - User hovers over `{string}`
49
+ - User hovers over `{string}` with force
50
+ - User hovers over `{string}` at `{int}, {int}` position
51
+ - User hovers over `{string}` at `{int}, {int}` position with force
52
+
53
+ ## Focus Actions
54
+
55
+ - User focuses on `{string}`
56
+ - User focuses on `{string}` with force
57
+ - User focuses on `{string}` at `{int}, {int}` position
58
+ - User focuses on `{string}` at `{int}, {int}` position with force
59
+
60
+ ## Drag Actions
61
+
62
+ - User drags `{string}` to `{string}`
63
+ - User drags `{string}` to `{int}, {int}` position
64
+
65
+ ## Selection Actions
66
+
67
+ - User selects by value `{string}` from `{string}`
68
+ - User selects by text `{string}` from `{string}`
69
+
70
+ ## Checkbox Actions
71
+
72
+ - User checks `{string}`
73
+ - User unchecks `{string}`
74
+
75
+ ## Scroll Actions
76
+
77
+ - User scrolls into view for `{string}`
78
+
79
+ ---
80
+
81
+ # Keyboard Actions
82
+
83
+ ## Press Actions
84
+
85
+ - User presses `{string}` on `{string}`
86
+ - User presses keys `{string}` sequentially on `{string}`
87
+ - User presses keys `{string}` sequentially with delay `{int}` on `{string}`
88
+
89
+ ## Input Actions
90
+
91
+ - User types `{string}` in `{string}`
92
+ - User types `{string}` with delay `{int}`
93
+ - User inserts text `{string}`
94
+ - User clears `{string}`
95
+
96
+ ## Selection Actions
97
+
98
+ - User selects text in `{string}`
99
+
100
+ ## File Input Actions
101
+
102
+ - User sets input files `{string}` for `{string}`
103
+
104
+ ## Key State Actions
105
+
106
+ - User holds down `{string}`
107
+ - User releases `{string}`
108
+ - User presses `{string}`
109
+
110
+ ---
111
+
112
+ # Page Actions
113
+
114
+ ## Navigation Actions
115
+
116
+ - User navigates to `{string}` page
117
+ - User navigates previous page
118
+ - User navigates next page
119
+
120
+ ## URL Actions
121
+
122
+ - User gets URL of page
123
+
124
+ ## Wait Actions
125
+
126
+ - User waits `{int}` seconds
127
+ - User waits `{int}` milliseconds
128
+ - User waits `{int}` minutes
129
+
130
+ ---
131
+
132
+ # Frame Actions
133
+
134
+ ## Screenshot Actions
135
+
136
+ - User takes a screenshot of `{string}`
137
+
138
+ ## Content and Locator Actions
139
+
140
+ - User gets the content frame of `{string}`
141
+ - User gets the frame locator of `{string}`
142
+
143
+ ## Element Retrieval Actions
144
+
145
+ - User gets the `{int} th` element of `{string}`
146
+ - User gets the first element of `{string}`
147
+ - User gets the last element of `{string}`
148
+ - User filters elements of `{string}` with filter `{string}`
149
+
150
+ ## Counting Actions
151
+
152
+ - User counts the elements of `{string}`
153
+
154
+ ## Accessibility-Based Retrieval Actions
155
+
156
+ - User gets the element with alt text `{string}`
157
+ - User gets the element with label `{string}`
158
+ - User gets the element with placeholder `{string}`
159
+ - User gets the element with role `{string}`
160
+ - User gets the element with testId `{string}`
161
+ - User gets the element with testId `{string}` (assuming you meant testId twice)
162
+
163
+ ---
164
+
165
+ # API Actions
166
+
167
+ ## GET Requests
168
+
169
+ - User sends GET request to `{string}`
170
+ - User sends GET request to `{string}` with payload:
171
+ - User sends GET request to `{string}` and saves `{string}` variables
172
+ - User sends GET request to `{string}` with payload and saves `{string}` variables
173
+
174
+ ## HEAD Requests
175
+
176
+ - User sends HEAD request to `{string}`
177
+
178
+ ## POST Requests
179
+
180
+ - User sends POST request to `{string}` with payload:
181
+ - User sends POST request to `{string}` with payload and saves `{string}` variables
182
+ - User sends multipart POST request to `{string}` with payload:
183
+ - User sends multipart POST request to `{string}` with payload and `{string}` variables
184
+
185
+ ## PUT Requests
186
+
187
+ - User sends PUT request to `{string}` with payload:
188
+ - User sends PUT request to `{string}` with payload and saves `{string}` variables
189
+ - User sends multipart PUT request to `{string}` with payload:
190
+ - User sends multipart PUT request to `{string}` with payload and saves `{string}` variables
191
+
192
+ ## PATCH Requests
193
+
194
+ - User sends PATCH request to `{string}` with payload:
195
+ - User sends PATCH request to `{string}` with payload and saves `{string}` variables
196
+ - User sends multipart PATCH request to `{string}` with payload:
197
+ - User sends multipart PATCH request to `{string}` with payload and saves `{string}` variables
198
+
199
+ ## DELETE Requests
200
+
201
+ - User sends DELETE request to `{string}`
202
+ - User sends DELETE request to `{string}` and saves `{string}` variables
203
+ - User sends DELETE request to `{string}` with payload:
204
+ - User sends DELETE request to `{string}` with payload and saves `{string}` variables
205
+
206
+ ---
207
+
208
+ # Variable Management
209
+
210
+ ## Manual Variable Assignment
211
+
212
+ - User saves `{string}` variable from response as `{string}`
213
+ - User saves `{string}` variable as `{string}`
214
+
215
+ ## Random Variable Management
216
+
217
+ ### Random Words
218
+
219
+ - User sets random word as `{string}`
220
+ - User sets random word that has `{int}` character as `{string}`
221
+ - User sets random word that has character between `{int}` and `{int}` as `{string}`
222
+ - User sets random words as `{string}`
223
+ - User sets random `{int}` words as `{string}`
224
+ - User sets random words that range between `{int}` and `{int}` as `{string}`
225
+
226
+ ### Random Numbers
227
+
228
+ - User sets random number as `{string}`
229
+ - User sets random number from `{int}` to `{int}` as `{string}`
230
+
231
+ ### Random Text Content
232
+
233
+ - User sets random paragraph as `{string}`
234
+ - User sets random paragraph that range between `{int}` and `{int}` as `{string}`
235
+ - User sets random sentences that has `{int}` paragraph as `{string}`
236
+
237
+ ### Random Characters & Alphanumeric
238
+
239
+ - User sets random characters from `{string}` as `{string}`
240
+ - User sets random alphanumeric in range from `{int}` to `{int}` as `{string}`
241
+
242
+ ### Random Personal Information
243
+
244
+ - User sets random email as `{string}`
245
+ - User sets random fullname as `{string}`
246
+ - User sets random first name as `{string}`
247
+ - User sets random last name as `{string}`
248
+ - User sets random middle name as `{string}`
249
+
250
+ ### Random Internet Data
251
+
252
+ - User sets random url as `{string}`
253
+
254
+ ### Random Dates
255
+
256
+ - User sets random date between `{int}` and `{int}` as `{string}`
257
+ - User sets date `{int}` days after today as `{string}`
258
+ - User sets date `{int}` days before today as `{string}`
259
+
260
+ ### Random from API Response
261
+
262
+ - User sends GET request to `{string}` and save `{string}` variable from `{string}` array as `{string}` randomly
263
+
264
+ ### Random from Array
265
+
266
+ - User sets random value from given `{string}` array as `{string}`
267
+
268
+ ---
269
+
270
+ # Debugging / Console Output
271
+
272
+ - User wants to see saved variables
273
+ - User wants to see {string} variable
274
+ - User wants to see request body
275
+ - User wants to see response body
276
+
277
+ ---
278
+
279
+ # Random Data Generation
280
+
281
+ - User sets random words as `{string}` variable
282
+ - User sets random number from `{int}` to `{int}` as `{string}` variable
283
+
284
+ # API Data Extraction
285
+
286
+ - User sends GET request to `{string}` and save `{string}` variable as a `{string}` randomly
287
+
288
+ ---
289
+
290
+ ## Assertions
291
+
292
+ - User expects `{string}` should be attached
293
+ - User expects `{string}` should be checked
294
+ - User expects `{string}` should be disabled
295
+ - User expects `{string}` should be editable
296
+ - User expects `{string}` should be empty
297
+ - User expects `{string}` should be enabled
298
+ - User expects `{string}` should be focused
299
+ - User expects `{string}` should be hidden
300
+ - User expects `{string}` should be on the screen
301
+ - User expects `{string}` should be visible
302
+ - User expects `{string}` should have `{string}` text
303
+ - User expects `{string}` should have `{string}` description
304
+ - User expects `{string}` should have `{string}` name
305
+ - User expects `{string}` should have `{string}` attribute with `{string}` value
306
+ - User expects `{string}` should have `{string}` class
307
+ - User expects `{string}` should have `{int}` count
308
+ - User expects `{string}` should have `{string}` CSS property with `{string}` value
309
+ - User expects `{string}` should have `{string}` id
310
+ - User expects `{string}` should have `{string}` JavaScript property with `{string}` value
311
+ - User expects `{string}` should have `{string}` role
312
+ - User expects `{string}` should have a screenshot
313
+ - User expects `{string}` should match `{string}` text
314
+ - User expects `{string}` should have `{string}` value
315
+ - User expects `{string}` should have `{string}` values
316
+ - User expects `{string}` should not be attached
317
+ - User expects `{string}` should not be checked
318
+ - User expects `{string}` should not be disabled
319
+ - User expects `{string}` should not be editable
320
+ - User expects `{string}` should not be empty
321
+ - User expects `{string}` should not be enabled
322
+ - User expects `{string}` should not be focused
323
+ - User expects `{string}` should not be hidden
324
+ - User expects `{string}` should not be on screen
325
+ - User expects `{string}` should not be visible
326
+ - User expects `{string}` should not have `{string}` text
327
+ - User expects `{string}` should not have `{string}` description
328
+ - User expects `{string}` should not have `{string}` name
329
+ - User expects `{string}` should not have `{string}` attribute with `{string}` value
330
+ - User expects `{string}` should not have `{string}` class
331
+ - User expects count of `{string}` should not be `{int}`
332
+ - User expects `{string}` should not have `{string}` CSS property with `{string}` value
333
+ - User expects `{string}` should not have `{string}` id
334
+ - User expects `{string}` should not have `{string}` JavaScript property with `{string}` value
335
+ - User expects `{string}` should not have `{string}` role
336
+ - User expects `{string}` should not match `{string}` text
337
+ - User expects `{string}` should not have `{string}` value
338
+ - User expects `{string}` should not have `{string}` values
339
+ - User expects the page should not have a screenshot
340
+ - User expects the page should not have `{string}` title
341
+ - User expects the page url should not be `{string}`
342
+ - User is not on `{string}` page
343
+ - The response should not be OK
344
+ - User expects `{string}` should be `{string}` text
345
+ - User expects `{string}` should be close to `{float}` with precision `{int}`
346
+ - User expects `{string}` should be defined
347
+ - User expects `{string}` should be falsy
348
+ - User expects `{string}` should be greater than `{float}`
349
+ - User expects `{string}` should be greater than or equal to `{float}`
350
+ - User expects `{string}` should be an instance of `{string}`
351
+ - User expects `{string}` should be less than `{float}`
352
+ - User expects `{string}` should be less than or equal to `{float}`
353
+ - User expects `{string}` should be NaN
354
+ - User expects `{string}` should be null
355
+ - User expects `{string}` should be truthy
356
+ - User expects `{string}` should be undefined
357
+ - User expects `{string}` should have `{string}` substring
358
+ - User expects `{string}` should contain equal `{string}`
359
+ - User expects `{string}` should equal `{int}`
360
+ - User expects length of `{string}` should be `{int}`
361
+ - User expects `{string}` should have `{string}` property
362
+ - User expects `{string}` should match `{string}` regex
363
+ - User expects `{string}` should match `{string}` object
364
+ - User expects `{string}` should strictly equal `{string}`
365
+ - The function should throw
366
+ - User expects `{string}` should be any instance of `{string}`
367
+ - User expects `{string}` may be anything
368
+ - User expects `{string}` should contain `{string}` array elements
369
+ - User expects `{string}` should be close to `{float}` with precision `{int}`
370
+ - User expects `{string}` should contain `{string}` object properties
371
+ - User expects `{string}` should have `{string}` substring
372
+ - User expects `{string}` should match `{string}` regex
373
+ - User expects `{string}` should not have `{string}` text
374
+ - User expects `{string}` should not be close to `{float}` with precision `{int}`
375
+ - User expects `{string}` should not be defined
376
+ - User expects `{string}` should not be falsy
377
+ - User expects `{string}` should not be greater than `{float}`
378
+ - User expects `{string}` should not be greater than or equal to `{float}`
379
+ - User expects `{string}` should not be instance of `{string}`
380
+ - User expects `{string}` should not be less than `{float}`
381
+ - User expects `{string}` should not be less than or equal to `{float}`
382
+ - User expects `{string}` should not be NaN
383
+ - User expects `{string}` should not be null
384
+ - User expects `{string}` should not be truthy
385
+ - User expects `{string}` should not be undefined
386
+ - User expects `{string}` should not have `{string}` substring
387
+ - User expects `{string}` should not contain equal `{string}`
388
+ - User expects `{string}` should not equal `{string}`
389
+ - User expects length of `{string}` should not be `{int}`
390
+ - User expects `{string}` should not have `{string}` property
391
+ - User expects `{string}` should not match `{string}` regex
392
+ - User expects `{string}` should not match `{string}` object
393
+ - The function should not throw
394
+ - User expects `{string}` should not be any instance of `{string}`
395
+ - User expects `{string}` may not be anything
396
+ - User expects `{string}` should not contain `{string}` array elements
397
+ - User expects `{string}` should not be close to `{float}` with precision `{int}`
398
+ - User expects `{string}` should not contain `{string}` object properties
399
+ - User expects `{string}` should not contain `{string}` substring
400
+ - User expects `{string}` should not match `{string}` regex
401
+ - User expects that response should have `{int}` status code
402
+ - User expects that response body should match `{string}` schema