playwright-cucumber-ts-steps 1.3.1 → 1.3.2
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.
- package/dist/backend/actions/click.js +30 -30
- package/dist/backend/actions/form.js +2 -2
- package/dist/backend/actions/formTable.js +1 -1
- package/dist/backend/actions/frames.js +3 -3
- package/dist/backend/actions/inputs.js +18 -18
- package/dist/backend/actions/interactions.js +6 -6
- package/dist/backend/actions/keyboard.js +6 -6
- package/dist/backend/actions/misc.js +15 -15
- package/dist/backend/actions/mobile.js +7 -7
- package/dist/backend/actions/mouse.js +9 -9
- package/dist/backend/actions/navigation.js +5 -5
- package/dist/backend/actions/visual.js +7 -7
- package/dist/backend/actions/waits.js +6 -6
- package/dist/backend/api/assertions.js +3 -3
- package/dist/backend/api/mock.js +3 -3
- package/dist/backend/api/network.js +6 -6
- package/dist/backend/api/requests.js +4 -4
- package/dist/backend/assertions/document.js +10 -10
- package/dist/backend/assertions/elements.js +28 -28
- package/dist/backend/assertions/expectVisible.js +1 -1
- package/dist/backend/assertions/forms.js +7 -7
- package/dist/backend/assertions/pageState.js +4 -4
- package/dist/backend/assertions/storage.js +11 -11
- package/dist/backend/assertions/text.js +17 -17
- package/dist/backend/assertions/visibility.js +15 -15
- package/dist/backend/auth/index.js +2 -2
- package/dist/backend/db/steps.d.ts +1 -1
- package/dist/backend/db/steps.d.ts.map +1 -1
- package/dist/backend/db/steps.js +10 -10
- package/dist/backend/elements/alerts.js +3 -3
- package/dist/backend/elements/find.js +26 -26
- package/dist/backend/elements/forms.js +4 -4
- package/dist/backend/elements/frames.js +3 -3
- package/dist/backend/utils/resolver.js +1 -1
- package/dist/component/runner.d.ts +1 -1
- package/dist/component/runner.d.ts.map +1 -1
- package/dist/component/runner.js +38 -5
- package/dist/core/runner.js +3 -3
- package/dist/metadata.json +270 -270
- package/package.json +3 -2
package/dist/metadata.json
CHANGED
|
@@ -1,1082 +1,1082 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"pattern": "I visit {string}",
|
|
3
|
+
"pattern": "I pw visit {string}",
|
|
4
4
|
"type": "Given"
|
|
5
5
|
},
|
|
6
6
|
{
|
|
7
|
-
"pattern": "I reload the page",
|
|
7
|
+
"pattern": "I pw reload the page",
|
|
8
8
|
"type": "When"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"pattern": "I go back",
|
|
11
|
+
"pattern": "I pw go back",
|
|
12
12
|
"type": "When"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"pattern": "I go forward",
|
|
15
|
+
"pattern": "I pw go forward",
|
|
16
16
|
"type": "When"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"pattern": "I navigate to {string}",
|
|
19
|
+
"pattern": "I pw navigate to {string}",
|
|
20
20
|
"type": "Given"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
"pattern": "I click {string}",
|
|
23
|
+
"pattern": "I pw click {string}",
|
|
24
24
|
"type": "When"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
"pattern": "I force click {string}",
|
|
27
|
+
"pattern": "I pw force click {string}",
|
|
28
28
|
"type": "When"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
-
"pattern": "I fill {string} with {string}",
|
|
31
|
+
"pattern": "I pw fill {string} with {string}",
|
|
32
32
|
"type": "When"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
"pattern": "I press {string}",
|
|
35
|
+
"pattern": "I pw press {string}",
|
|
36
36
|
"type": "When"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"pattern": "I drag {string} to {string}",
|
|
39
|
+
"pattern": "I pw drag {string} to {string}",
|
|
40
40
|
"type": "When"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
"pattern": "I drag to {string}",
|
|
43
|
+
"pattern": "I pw drag to {string}",
|
|
44
44
|
"type": "When"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
"pattern": "I fill the following {string} test form data",
|
|
47
|
+
"pattern": "I pw fill the following {string} test form data",
|
|
48
48
|
"type": "When"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"pattern": "I click",
|
|
51
|
+
"pattern": "I pw click",
|
|
52
52
|
"type": "When"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
"pattern": "I click on element {string}",
|
|
55
|
+
"pattern": "I pw click on element {string}",
|
|
56
56
|
"type": "When"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
"pattern": "I click on button {string}",
|
|
59
|
+
"pattern": "I pw click on button {string}",
|
|
60
60
|
"type": "When"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
|
-
"pattern": "I click on exact button text {string}",
|
|
63
|
+
"pattern": "I pw click on exact button text {string}",
|
|
64
64
|
"type": "When"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
"pattern": "I click on link {string}",
|
|
67
|
+
"pattern": "I pw click on link {string}",
|
|
68
68
|
"type": "When"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
"pattern": "I click on label {string}",
|
|
71
|
+
"pattern": "I pw click on label {string}",
|
|
72
72
|
"type": "When"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
"pattern": "I click on text {string}",
|
|
75
|
+
"pattern": "I pw click on text {string}",
|
|
76
76
|
"type": "When"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
"pattern": "I click on exact text {string}",
|
|
79
|
+
"pattern": "I pw click on exact text {string}",
|
|
80
80
|
"type": "When"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
"pattern": "I click on selector {string}",
|
|
83
|
+
"pattern": "I pw click on selector {string}",
|
|
84
84
|
"type": "When"
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
"pattern": "I click all",
|
|
87
|
+
"pattern": "I pw click all",
|
|
88
88
|
"type": "When"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
"pattern": "I double click",
|
|
91
|
+
"pattern": "I pw double click",
|
|
92
92
|
"type": "When"
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
"pattern": "I double click on text {string}",
|
|
95
|
+
"pattern": "I pw double click on text {string}",
|
|
96
96
|
"type": "When"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
"pattern": "I double click on exact text {string}",
|
|
99
|
+
"pattern": "I pw double click on exact text {string}",
|
|
100
100
|
"type": "When"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
"pattern": "I double click position {int} {int}",
|
|
103
|
+
"pattern": "I pw double click position {int} {int}",
|
|
104
104
|
"type": "When"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
"pattern": "I right click",
|
|
107
|
+
"pattern": "I pw right click",
|
|
108
108
|
"type": "When"
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
"pattern": "I right click on text {string}",
|
|
111
|
+
"pattern": "I pw right click on text {string}",
|
|
112
112
|
"type": "When"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
"pattern": "I right click position {int} {int}",
|
|
115
|
+
"pattern": "I pw right click position {int} {int}",
|
|
116
116
|
"type": "When"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
|
-
"pattern": "I click on {int}st element {string}",
|
|
119
|
+
"pattern": "I pw click on {int}st element {string}",
|
|
120
120
|
"type": "When"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
|
-
"pattern": "I click on {int}nd element {string}",
|
|
123
|
+
"pattern": "I pw click on {int}nd element {string}",
|
|
124
124
|
"type": "When"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
"pattern": "I click on {int}rd element {string}",
|
|
127
|
+
"pattern": "I pw click on {int}rd element {string}",
|
|
128
128
|
"type": "When"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
"pattern": "I click on {int}th element {string}",
|
|
131
|
+
"pattern": "I pw click on {int}th element {string}",
|
|
132
132
|
"type": "When"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
"pattern": "I click on {int}st selector {string}",
|
|
135
|
+
"pattern": "I pw click on {int}st selector {string}",
|
|
136
136
|
"type": "When"
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
|
-
"pattern": "I click on {int}nd selector {string}",
|
|
139
|
+
"pattern": "I pw click on {int}nd selector {string}",
|
|
140
140
|
"type": "When"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
"pattern": "I click on {int}rd selector {string}",
|
|
143
|
+
"pattern": "I pw click on {int}rd selector {string}",
|
|
144
144
|
"type": "When"
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
|
-
"pattern": "I click on {int}th selector {string}",
|
|
147
|
+
"pattern": "I pw click on {int}th selector {string}",
|
|
148
148
|
"type": "When"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
"pattern": "I click on column {int} in row {int}",
|
|
151
|
+
"pattern": "I pw click on column {int} in row {int}",
|
|
152
152
|
"type": "When"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
"pattern": "I click on {int}st column in row {string}",
|
|
155
|
+
"pattern": "I pw click on {int}st column in row {string}",
|
|
156
156
|
"type": "When"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
"pattern": "I click on {int}nd column in row {string}",
|
|
159
|
+
"pattern": "I pw click on {int}nd column in row {string}",
|
|
160
160
|
"type": "When"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"pattern": "I click on {int}rd column in row {string}",
|
|
163
|
+
"pattern": "I pw click on {int}rd column in row {string}",
|
|
164
164
|
"type": "When"
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
|
-
"pattern": "I click on {int}th column in row {string}",
|
|
167
|
+
"pattern": "I pw click on {int}th column in row {string}",
|
|
168
168
|
"type": "When"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
"pattern": "I type {string}",
|
|
171
|
+
"pattern": "I pw type {string}",
|
|
172
172
|
"type": "When"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
"pattern": "I fill {string}",
|
|
175
|
+
"pattern": "I pw fill {string}",
|
|
176
176
|
"type": "When"
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
"pattern": "I type stored {string}",
|
|
179
|
+
"pattern": "I pw type stored {string}",
|
|
180
180
|
"type": "When"
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
"pattern": "I fill stored {string}",
|
|
183
|
+
"pattern": "I pw fill stored {string}",
|
|
184
184
|
"type": "When"
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
|
-
"pattern": "I slowly type {string}",
|
|
187
|
+
"pattern": "I pw slowly type {string}",
|
|
188
188
|
"type": "When"
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
|
-
"pattern": "I slowly fill {string}",
|
|
191
|
+
"pattern": "I pw slowly fill {string}",
|
|
192
192
|
"type": "When"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
"pattern": "I set value {string}",
|
|
195
|
+
"pattern": "I pw set value {string}",
|
|
196
196
|
"type": "When"
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
|
-
"pattern": "I clear",
|
|
199
|
+
"pattern": "I pw clear",
|
|
200
200
|
"type": "When"
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
|
-
"pattern": "I press {string}",
|
|
203
|
+
"pattern": "I pw press {string}",
|
|
204
204
|
"type": "When"
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
"pattern": "I check",
|
|
207
|
+
"pattern": "I pw check",
|
|
208
208
|
"type": "When"
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
|
-
"pattern": "I uncheck",
|
|
211
|
+
"pattern": "I pw uncheck",
|
|
212
212
|
"type": "When"
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
|
-
"pattern": "I check input",
|
|
215
|
+
"pattern": "I pw check input",
|
|
216
216
|
"type": "When"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
|
-
"pattern": "I uncheck input",
|
|
219
|
+
"pattern": "I pw uncheck input",
|
|
220
220
|
"type": "When"
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
|
-
"pattern": "I {string} {int}(?:st|nd|rd|th) selector {string}",
|
|
223
|
+
"pattern": "I pw {string} {int}(?:st|nd|rd|th) selector {string}",
|
|
224
224
|
"type": "When"
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
"pattern": "I select option {string}",
|
|
227
|
+
"pattern": "I pw select option {string}",
|
|
228
228
|
"type": "When"
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
"pattern": "I submit",
|
|
231
|
+
"pattern": "I pw submit",
|
|
232
232
|
"type": "When"
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
"pattern": "I select file {string}",
|
|
235
|
+
"pattern": "I pw select file {string}",
|
|
236
236
|
"type": "When"
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
"pattern": "I upload file {string}",
|
|
239
|
+
"pattern": "I pw upload file {string}",
|
|
240
240
|
"type": "When"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
|
-
"pattern": "I fill the following {string} form data",
|
|
243
|
+
"pattern": "I pw fill the following {string} form data",
|
|
244
244
|
"type": "When"
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
"pattern": "I select react option {string} from {string}",
|
|
247
|
+
"pattern": "I pw select react option {string} from {string}",
|
|
248
248
|
"type": "When"
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
|
-
"pattern": "I scroll {string} into view",
|
|
251
|
+
"pattern": "I pw scroll {string} into view",
|
|
252
252
|
"type": "When"
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
"pattern": "I scroll {string} to position x:{int} y:{int}",
|
|
255
|
+
"pattern": "I pw scroll {string} to position x:{int} y:{int}",
|
|
256
256
|
"type": "When"
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
|
-
"pattern": "I scroll to coordinates x:{int} y:{int}",
|
|
259
|
+
"pattern": "I pw scroll to coordinates x:{int} y:{int}",
|
|
260
260
|
"type": "When"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
"pattern": "I scroll mouse window to position top:{int} left:{int}",
|
|
263
|
+
"pattern": "I pw scroll mouse window to position top:{int} left:{int}",
|
|
264
264
|
"type": "When"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
|
-
"pattern": "I scroll to {string}",
|
|
267
|
+
"pattern": "I pw scroll to {string}",
|
|
268
268
|
"type": "When"
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
"pattern": "I hover over the element {string}",
|
|
271
|
+
"pattern": "I pw hover over the element {string}",
|
|
272
272
|
"type": "When"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
|
-
"pattern": "I move mouse to coordinates {int}, {int}",
|
|
275
|
+
"pattern": "I pw move mouse to coordinates {int}, {int}",
|
|
276
276
|
"type": "When"
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
"pattern": "I hover on {int}(?:st|nd|rd|th) element {string}",
|
|
279
|
+
"pattern": "I pw hover on {int}(?:st|nd|rd|th) element {string}",
|
|
280
280
|
"type": "When"
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
|
-
"pattern": "I hover on {int}(?:st|nd|rd|th) selector {string}",
|
|
283
|
+
"pattern": "I pw hover on {int}(?:st|nd|rd|th) selector {string}",
|
|
284
284
|
"type": "When"
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
|
-
"pattern": "I wait {int} milliseconds",
|
|
287
|
+
"pattern": "I pw wait {int} milliseconds",
|
|
288
288
|
"type": "When"
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
|
-
"pattern": "I wait {int} seconds",
|
|
291
|
+
"pattern": "I pw wait {int} seconds",
|
|
292
292
|
"type": "When"
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
|
-
"pattern": "I pause",
|
|
295
|
+
"pattern": "I pw pause",
|
|
296
296
|
"type": "When"
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
|
-
"pattern": "I debug",
|
|
299
|
+
"pattern": "I pw debug",
|
|
300
300
|
"type": "When"
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
|
-
"pattern": "I log {string}",
|
|
303
|
+
"pattern": "I pw log {string}",
|
|
304
304
|
"type": "When"
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
|
-
"pattern": "I focus",
|
|
307
|
+
"pattern": "I pw focus",
|
|
308
308
|
"type": "When"
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
|
-
"pattern": "I blur",
|
|
311
|
+
"pattern": "I pw blur",
|
|
312
312
|
"type": "When"
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
|
-
"pattern": "I set cookie {string} to {string}",
|
|
315
|
+
"pattern": "I pw set cookie {string} to {string}",
|
|
316
316
|
"type": "When"
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
|
-
"pattern": "I clear all cookies",
|
|
319
|
+
"pattern": "I pw clear all cookies",
|
|
320
320
|
"type": "When"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
|
-
"pattern": "I set local storage item {string} to {string}",
|
|
323
|
+
"pattern": "I pw set local storage item {string} to {string}",
|
|
324
324
|
"type": "When"
|
|
325
325
|
},
|
|
326
326
|
{
|
|
327
|
-
"pattern": "I get local storage item {string}",
|
|
327
|
+
"pattern": "I pw get local storage item {string}",
|
|
328
328
|
"type": "When"
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
"pattern": "I clear local storage",
|
|
331
|
+
"pattern": "I pw clear local storage",
|
|
332
332
|
"type": "When"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
"pattern": "I set session storage item {string} to {string}",
|
|
335
|
+
"pattern": "I pw set session storage item {string} to {string}",
|
|
336
336
|
"type": "When"
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
|
-
"pattern": "I clear session storage",
|
|
339
|
+
"pattern": "I pw clear session storage",
|
|
340
340
|
"type": "When"
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
|
-
"pattern": "I store text as {string}",
|
|
343
|
+
"pattern": "I pw store text as {string}",
|
|
344
344
|
"type": "When"
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
|
-
"pattern": "I tap",
|
|
347
|
+
"pattern": "I pw tap",
|
|
348
348
|
"type": "When"
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
|
-
"pattern": "I tap element {string}",
|
|
351
|
+
"pattern": "I pw tap element {string}",
|
|
352
352
|
"type": "When"
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
|
-
"pattern": "I tap coordinates x:{int} y:{int}",
|
|
355
|
+
"pattern": "I pw tap coordinates x:{int} y:{int}",
|
|
356
356
|
"type": "When"
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
|
-
"pattern": "I resize window to width {int} and height {int}",
|
|
359
|
+
"pattern": "I pw resize window to width {int} and height {int}",
|
|
360
360
|
"type": "When"
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
|
-
"pattern": "I simulate device {string}",
|
|
363
|
+
"pattern": "I pw simulate device {string}",
|
|
364
364
|
"type": "When"
|
|
365
365
|
},
|
|
366
366
|
{
|
|
367
|
-
"pattern": "I set geolocation to lat: {float} long: {float}",
|
|
367
|
+
"pattern": "I pw set geolocation to lat: {float} long: {float}",
|
|
368
368
|
"type": "When"
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
|
-
"pattern": "I grant permission {string}",
|
|
371
|
+
"pattern": "I pw grant permission {string}",
|
|
372
372
|
"type": "When"
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
-
"pattern": "I take a screenshot of the page {string}",
|
|
375
|
+
"pattern": "I pw take a screenshot of the page {string}",
|
|
376
376
|
"type": "When"
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
|
-
"pattern": "I take a screenshot of element {string} as {string}",
|
|
379
|
+
"pattern": "I pw take a screenshot of element {string} as {string}",
|
|
380
380
|
"type": "When"
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
|
-
"pattern": "I take a viewport screenshot {string}",
|
|
383
|
+
"pattern": "I pw take a viewport screenshot {string}",
|
|
384
384
|
"type": "When"
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
|
-
"pattern": "I expect page {string} to closely match {string}",
|
|
387
|
+
"pattern": "I pw expect page {string} to closely match {string}",
|
|
388
388
|
"type": "Then"
|
|
389
389
|
},
|
|
390
390
|
{
|
|
391
|
-
"pattern": "I expect element {string} screenshot {string} to closely match {string}",
|
|
391
|
+
"pattern": "I pw expect element {string} screenshot {string} to closely match {string}",
|
|
392
392
|
"type": "Then"
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
|
-
"pattern": "I capture screenshot {string} for the report",
|
|
395
|
+
"pattern": "I pw capture screenshot {string} for the report",
|
|
396
396
|
"type": "When"
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
|
-
"pattern": "I wait for network idle",
|
|
399
|
+
"pattern": "I pw wait for network idle",
|
|
400
400
|
"type": "When"
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
|
-
"pattern": "I wait for load state {string}",
|
|
403
|
+
"pattern": "I pw wait for load state {string}",
|
|
404
404
|
"type": "When"
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
|
-
"pattern": "I wait for element to be visible",
|
|
407
|
+
"pattern": "I pw wait for element to be visible",
|
|
408
408
|
"type": "When"
|
|
409
409
|
},
|
|
410
410
|
{
|
|
411
|
-
"pattern": "I wait for {string} to be visible",
|
|
411
|
+
"pattern": "I pw wait for {string} to be visible",
|
|
412
412
|
"type": "When"
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
|
-
"pattern": "I wait for element to be hidden",
|
|
415
|
+
"pattern": "I pw wait for element to be hidden",
|
|
416
416
|
"type": "When"
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
|
-
"pattern": "I wait for URL to contain {string}",
|
|
419
|
+
"pattern": "I pw wait for URL to contain {string}",
|
|
420
420
|
"type": "When"
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
|
-
"pattern": "I switch to frame {string}",
|
|
423
|
+
"pattern": "I pw switch to frame {string}",
|
|
424
424
|
"type": "When"
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
|
-
"pattern": "I find element {string} in frame {string}",
|
|
427
|
+
"pattern": "I pw find element {string} in frame {string}",
|
|
428
428
|
"type": "When"
|
|
429
429
|
},
|
|
430
430
|
{
|
|
431
|
-
"pattern": "I switch to new tab",
|
|
431
|
+
"pattern": "I pw switch to new tab",
|
|
432
432
|
"type": "When"
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
|
-
"pattern": "I press key {string}",
|
|
435
|
+
"pattern": "I pw press key {string}",
|
|
436
436
|
"type": "When"
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
|
-
"pattern": "I press key {string} on element",
|
|
439
|
+
"pattern": "I pw press key {string} on element",
|
|
440
440
|
"type": "When"
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
|
-
"pattern": "I press keys {string}",
|
|
443
|
+
"pattern": "I pw press keys {string}",
|
|
444
444
|
"type": "When"
|
|
445
445
|
},
|
|
446
446
|
{
|
|
447
|
-
"pattern": "I press shortcut {string}",
|
|
447
|
+
"pattern": "I pw press shortcut {string}",
|
|
448
448
|
"type": "When"
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
|
-
"pattern": "I hold down key {string}",
|
|
451
|
+
"pattern": "I pw hold down key {string}",
|
|
452
452
|
"type": "When"
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
|
-
"pattern": "I release key {string}",
|
|
455
|
+
"pattern": "I pw release key {string}",
|
|
456
456
|
"type": "When"
|
|
457
457
|
},
|
|
458
458
|
{
|
|
459
|
-
"pattern": "I make a GET request to {string}",
|
|
459
|
+
"pattern": "I pw make a GET request to {string}",
|
|
460
460
|
"type": "When"
|
|
461
461
|
},
|
|
462
462
|
{
|
|
463
|
-
"pattern": "I make a DELETE request to {string}",
|
|
463
|
+
"pattern": "I pw make a DELETE request to {string}",
|
|
464
464
|
"type": "When"
|
|
465
465
|
},
|
|
466
466
|
{
|
|
467
|
-
"pattern": "I make a POST request to {string} with data",
|
|
467
|
+
"pattern": "I pw make a POST request to {string} with data",
|
|
468
468
|
"type": "When"
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
|
-
"pattern": "I make a POST request to {string} with payload from {string}",
|
|
471
|
+
"pattern": "I pw make a POST request to {string} with payload from {string}",
|
|
472
472
|
"type": "When"
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
|
-
"pattern": "I expect the response status to be {int}",
|
|
475
|
+
"pattern": "I pw expect the response status to be {int}",
|
|
476
476
|
"type": "Then"
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
|
-
"pattern": "I expect the response body to contain {string}",
|
|
479
|
+
"pattern": "I pw expect the response body to contain {string}",
|
|
480
480
|
"type": "Then"
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
"pattern": "I expect the response property {string} to be {string}",
|
|
483
|
+
"pattern": "I pw expect the response property {string} to be {string}",
|
|
484
484
|
"type": "Then"
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
|
-
"pattern": "I mock the API endpoint {string} with body {string}",
|
|
487
|
+
"pattern": "I pw mock the API endpoint {string} with body {string}",
|
|
488
488
|
"type": "When"
|
|
489
489
|
},
|
|
490
490
|
{
|
|
491
|
-
"pattern": "I mock the API endpoint {string} with response from {string}",
|
|
491
|
+
"pattern": "I pw mock the API endpoint {string} with response from {string}",
|
|
492
492
|
"type": "When"
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
"pattern": "I mock the API endpoint {string} with status {int}",
|
|
495
|
+
"pattern": "I pw mock the API endpoint {string} with status {int}",
|
|
496
496
|
"type": "When"
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
|
-
"pattern": "I intercept URL {string} and stub body:",
|
|
499
|
+
"pattern": "I pw intercept URL {string} and stub body:",
|
|
500
500
|
"type": "When"
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
|
-
"pattern": "I intercept URL {string} and stub body {string}",
|
|
503
|
+
"pattern": "I pw intercept URL {string} and stub body {string}",
|
|
504
504
|
"type": "When"
|
|
505
505
|
},
|
|
506
506
|
{
|
|
507
|
-
"pattern": "I intercept URL {string}",
|
|
507
|
+
"pattern": "I pw intercept URL {string}",
|
|
508
508
|
"type": "When"
|
|
509
509
|
},
|
|
510
510
|
{
|
|
511
|
-
"pattern": "I make request to {string}",
|
|
511
|
+
"pattern": "I pw make request to {string}",
|
|
512
512
|
"type": "When"
|
|
513
513
|
},
|
|
514
514
|
{
|
|
515
|
-
"pattern": "I make a POST request to {string} with JSON body:",
|
|
515
|
+
"pattern": "I pw make a POST request to {string} with JSON body:",
|
|
516
516
|
"type": "When"
|
|
517
517
|
},
|
|
518
518
|
{
|
|
519
|
-
"pattern": "I make a {word} request to {string}",
|
|
519
|
+
"pattern": "I pw make a {word} request to {string}",
|
|
520
520
|
"type": "When"
|
|
521
521
|
},
|
|
522
522
|
{
|
|
523
|
-
"pattern": "I expect element to be visible",
|
|
523
|
+
"pattern": "I pw expect element to be visible",
|
|
524
524
|
"type": "Then"
|
|
525
525
|
},
|
|
526
526
|
{
|
|
527
|
-
"pattern": "I expect {string} to be visible",
|
|
527
|
+
"pattern": "I pw expect {string} to be visible",
|
|
528
528
|
"type": "Then"
|
|
529
529
|
},
|
|
530
530
|
{
|
|
531
|
-
"pattern": "I expect element to be hidden",
|
|
531
|
+
"pattern": "I pw expect element to be hidden",
|
|
532
532
|
"type": "Then"
|
|
533
533
|
},
|
|
534
534
|
{
|
|
535
|
-
"pattern": "I expect element to be enabled",
|
|
535
|
+
"pattern": "I pw expect element to be enabled",
|
|
536
536
|
"type": "Then"
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
|
-
"pattern": "I expect element to be disabled",
|
|
539
|
+
"pattern": "I pw expect element to be disabled",
|
|
540
540
|
"type": "Then"
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
|
-
"pattern": "I expect element to have text {string}",
|
|
543
|
+
"pattern": "I pw expect element to have text {string}",
|
|
544
544
|
"type": "Then"
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
|
-
"pattern": "I expect element to contain text {string}",
|
|
547
|
+
"pattern": "I pw expect element to contain text {string}",
|
|
548
548
|
"type": "Then"
|
|
549
549
|
},
|
|
550
550
|
{
|
|
551
|
-
"pattern": "I expect element to have value {string}",
|
|
551
|
+
"pattern": "I pw expect element to have value {string}",
|
|
552
552
|
"type": "Then"
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
|
-
"pattern": "I expect element to have attribute {string}",
|
|
555
|
+
"pattern": "I pw expect element to have attribute {string}",
|
|
556
556
|
"type": "Then"
|
|
557
557
|
},
|
|
558
558
|
{
|
|
559
|
-
"pattern": "I expect element to have attribute {string} with value {string}",
|
|
559
|
+
"pattern": "I pw expect element to have attribute {string} with value {string}",
|
|
560
560
|
"type": "Then"
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
|
-
"pattern": "I expect the page screenshot to match {string}",
|
|
563
|
+
"pattern": "I pw expect the page screenshot to match {string}",
|
|
564
564
|
"type": "Then"
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
|
-
"pattern": "I expect the element screenshot to match {string}",
|
|
567
|
+
"pattern": "I pw expect the element screenshot to match {string}",
|
|
568
568
|
"type": "Then"
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
"pattern": "I expect {string} to be not visible",
|
|
571
|
+
"pattern": "I pw expect {string} to be not visible",
|
|
572
572
|
"type": "Then"
|
|
573
573
|
},
|
|
574
574
|
{
|
|
575
|
-
"pattern": "I expect element {string} exists",
|
|
575
|
+
"pattern": "I pw expect element {string} exists",
|
|
576
576
|
"type": "Then"
|
|
577
577
|
},
|
|
578
578
|
{
|
|
579
|
-
"pattern": "I expect element {string} does not exist",
|
|
579
|
+
"pattern": "I pw expect element {string} does not exist",
|
|
580
580
|
"type": "Then"
|
|
581
581
|
},
|
|
582
582
|
{
|
|
583
|
-
"pattern": "I expect the element {string} to be visible",
|
|
583
|
+
"pattern": "I pw expect the element {string} to be visible",
|
|
584
584
|
"type": "Then"
|
|
585
585
|
},
|
|
586
586
|
{
|
|
587
|
-
"pattern": "I see button text {string}",
|
|
587
|
+
"pattern": "I pw see button text {string}",
|
|
588
588
|
"type": "When"
|
|
589
589
|
},
|
|
590
590
|
{
|
|
591
|
-
"pattern": "I see heading text {string}",
|
|
591
|
+
"pattern": "I pw see heading text {string}",
|
|
592
592
|
"type": "When"
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"pattern": "I see link text {string}",
|
|
595
|
+
"pattern": "I pw see link text {string}",
|
|
596
596
|
"type": "When"
|
|
597
597
|
},
|
|
598
598
|
{
|
|
599
|
-
"pattern": "I see label text {string}",
|
|
599
|
+
"pattern": "I pw see label text {string}",
|
|
600
600
|
"type": "Then"
|
|
601
601
|
},
|
|
602
602
|
{
|
|
603
|
-
"pattern": "I do not see button text {string}",
|
|
603
|
+
"pattern": "I pw do not see button text {string}",
|
|
604
604
|
"type": "When"
|
|
605
605
|
},
|
|
606
606
|
{
|
|
607
|
-
"pattern": "I do not see heading text {string}",
|
|
607
|
+
"pattern": "I pw do not see heading text {string}",
|
|
608
608
|
"type": "When"
|
|
609
609
|
},
|
|
610
610
|
{
|
|
611
|
-
"pattern": "I do not see link text {string}",
|
|
611
|
+
"pattern": "I pw do not see link text {string}",
|
|
612
612
|
"type": "When"
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
|
-
"pattern": "I do not see label text {string}",
|
|
615
|
+
"pattern": "I pw do not see label text {string}",
|
|
616
616
|
"type": "Then"
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
|
-
"pattern": "I see exact element text {string}",
|
|
619
|
+
"pattern": "I pw see exact element text {string}",
|
|
620
620
|
"type": "When"
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
|
-
"pattern": "I see exact value {string}",
|
|
623
|
+
"pattern": "I pw see exact value {string}",
|
|
624
624
|
"type": "When"
|
|
625
625
|
},
|
|
626
626
|
{
|
|
627
|
-
"pattern": "I do not see exact value {string}",
|
|
627
|
+
"pattern": "I pw do not see exact value {string}",
|
|
628
628
|
"type": "When"
|
|
629
629
|
},
|
|
630
630
|
{
|
|
631
|
-
"pattern": "I see exact attribute {string} with value {string}",
|
|
631
|
+
"pattern": "I pw see exact attribute {string} with value {string}",
|
|
632
632
|
"type": "When"
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
|
-
"pattern": "I do not see exact attribute {string} with value {string}",
|
|
635
|
+
"pattern": "I pw do not see exact attribute {string} with value {string}",
|
|
636
636
|
"type": "When"
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
|
-
"pattern": "I see text {string}",
|
|
639
|
+
"pattern": "I pw see text {string}",
|
|
640
640
|
"type": "When"
|
|
641
641
|
},
|
|
642
642
|
{
|
|
643
|
-
"pattern": "I see exact text {string}",
|
|
643
|
+
"pattern": "I pw see exact text {string}",
|
|
644
644
|
"type": "When"
|
|
645
645
|
},
|
|
646
646
|
{
|
|
647
|
-
"pattern": "I do not see text {string}",
|
|
647
|
+
"pattern": "I pw do not see text {string}",
|
|
648
648
|
"type": "When"
|
|
649
649
|
},
|
|
650
650
|
{
|
|
651
|
-
"pattern": "I do not see exact text {string}",
|
|
651
|
+
"pattern": "I pw do not see exact text {string}",
|
|
652
652
|
"type": "When"
|
|
653
653
|
},
|
|
654
654
|
{
|
|
655
|
-
"pattern": "I expect the url to contain {string}",
|
|
655
|
+
"pattern": "I pw expect the url to contain {string}",
|
|
656
656
|
"type": "Then"
|
|
657
657
|
},
|
|
658
658
|
{
|
|
659
|
-
"pattern": "I expect the url to be {string}",
|
|
659
|
+
"pattern": "I pw expect the url to be {string}",
|
|
660
660
|
"type": "Then"
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
|
-
"pattern": "I expect the title to contain {string}",
|
|
663
|
+
"pattern": "I pw expect the title to contain {string}",
|
|
664
664
|
"type": "Then"
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
|
-
"pattern": "I expect the title to be {string}",
|
|
667
|
+
"pattern": "I pw expect the title to be {string}",
|
|
668
668
|
"type": "Then"
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
"pattern": "I see document title {string}",
|
|
671
|
+
"pattern": "I pw see document title {string}",
|
|
672
672
|
"type": "When"
|
|
673
673
|
},
|
|
674
674
|
{
|
|
675
|
-
"pattern": "I see document title contains {string}",
|
|
675
|
+
"pattern": "I pw see document title contains {string}",
|
|
676
676
|
"type": "Then"
|
|
677
677
|
},
|
|
678
678
|
{
|
|
679
|
-
"pattern": "I see URL {string}",
|
|
679
|
+
"pattern": "I pw see URL {string}",
|
|
680
680
|
"type": "When"
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
|
-
"pattern": "I see URL contains {string}",
|
|
683
|
+
"pattern": "I pw see URL contains {string}",
|
|
684
684
|
"type": "Then"
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
|
-
"pattern": "I see pathname {string}",
|
|
687
|
+
"pattern": "I pw see pathname {string}",
|
|
688
688
|
"type": "When"
|
|
689
689
|
},
|
|
690
690
|
{
|
|
691
|
-
"pattern": "I see pathname contains {string}",
|
|
691
|
+
"pattern": "I pw see pathname contains {string}",
|
|
692
692
|
"type": "Then"
|
|
693
693
|
},
|
|
694
694
|
{
|
|
695
|
-
"pattern": "I see hash {string}",
|
|
695
|
+
"pattern": "I pw see hash {string}",
|
|
696
696
|
"type": "When"
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
|
-
"pattern": "I see hash contains {string}",
|
|
699
|
+
"pattern": "I pw see hash contains {string}",
|
|
700
700
|
"type": "Then"
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
|
-
"pattern": "I see search contains {string}",
|
|
703
|
+
"pattern": "I pw see search contains {string}",
|
|
704
704
|
"type": "Then"
|
|
705
705
|
},
|
|
706
706
|
{
|
|
707
|
-
"pattern": "I see location {string}",
|
|
707
|
+
"pattern": "I pw see location {string}",
|
|
708
708
|
"type": "When"
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
|
-
"pattern": "I see cookie {string} has value {string}",
|
|
711
|
+
"pattern": "I pw see cookie {string} has value {string}",
|
|
712
712
|
"type": "When"
|
|
713
713
|
},
|
|
714
714
|
{
|
|
715
|
-
"pattern": "I see cookie {string} contains value {string}",
|
|
715
|
+
"pattern": "I pw see cookie {string} contains value {string}",
|
|
716
716
|
"type": "Then"
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
"pattern": "I do not see cookie {string}",
|
|
719
|
+
"pattern": "I pw do not see cookie {string}",
|
|
720
720
|
"type": "When"
|
|
721
721
|
},
|
|
722
722
|
{
|
|
723
|
-
"pattern": "I see local storage item {string} equals {string}",
|
|
723
|
+
"pattern": "I pw see local storage item {string} equals {string}",
|
|
724
724
|
"type": "Then"
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
|
-
"pattern": "I see local storage item {string} contains {string}",
|
|
727
|
+
"pattern": "I pw see local storage item {string} contains {string}",
|
|
728
728
|
"type": "Then"
|
|
729
729
|
},
|
|
730
730
|
{
|
|
731
|
-
"pattern": "I see local storage item {string}",
|
|
731
|
+
"pattern": "I pw see local storage item {string}",
|
|
732
732
|
"type": "When"
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
|
-
"pattern": "I do not see local storage item {string}",
|
|
735
|
+
"pattern": "I pw do not see local storage item {string}",
|
|
736
736
|
"type": "When"
|
|
737
737
|
},
|
|
738
738
|
{
|
|
739
|
-
"pattern": "I see session storage item {string} equals {string}",
|
|
739
|
+
"pattern": "I pw see session storage item {string} equals {string}",
|
|
740
740
|
"type": "Then"
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
|
-
"pattern": "I see session storage item {string} contains {string}",
|
|
743
|
+
"pattern": "I pw see session storage item {string} contains {string}",
|
|
744
744
|
"type": "Then"
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
|
-
"pattern": "I see session storage item {string}",
|
|
747
|
+
"pattern": "I pw see session storage item {string}",
|
|
748
748
|
"type": "When"
|
|
749
749
|
},
|
|
750
750
|
{
|
|
751
|
-
"pattern": "I do not see session storage item {string}",
|
|
751
|
+
"pattern": "I pw do not see session storage item {string}",
|
|
752
752
|
"type": "When"
|
|
753
753
|
},
|
|
754
754
|
{
|
|
755
|
-
"pattern": "I count elements {string}",
|
|
755
|
+
"pattern": "I pw count elements {string}",
|
|
756
756
|
"type": "When"
|
|
757
757
|
},
|
|
758
758
|
{
|
|
759
|
-
"pattern": "I do not see button element {string}",
|
|
759
|
+
"pattern": "I pw do not see button element {string}",
|
|
760
760
|
"type": "When"
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
|
-
"pattern": "I do not see heading element {string}",
|
|
763
|
+
"pattern": "I pw do not see heading element {string}",
|
|
764
764
|
"type": "When"
|
|
765
765
|
},
|
|
766
766
|
{
|
|
767
|
-
"pattern": "I do not see label element {string}",
|
|
767
|
+
"pattern": "I pw do not see label element {string}",
|
|
768
768
|
"type": "Then"
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
|
-
"pattern": "I do not see link element {string}",
|
|
771
|
+
"pattern": "I pw do not see link element {string}",
|
|
772
772
|
"type": "When"
|
|
773
773
|
},
|
|
774
774
|
{
|
|
775
|
-
"pattern": "I do not see testid element {string}",
|
|
775
|
+
"pattern": "I pw do not see testid element {string}",
|
|
776
776
|
"type": "When"
|
|
777
777
|
},
|
|
778
778
|
{
|
|
779
|
-
"pattern": "I do not see role element {string}",
|
|
779
|
+
"pattern": "I pw do not see role element {string}",
|
|
780
780
|
"type": "When"
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
|
-
"pattern": "I do not see option element {string}",
|
|
783
|
+
"pattern": "I pw do not see option element {string}",
|
|
784
784
|
"type": "When"
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
|
-
"pattern": "I do not see element with attribute {string} having value {string}",
|
|
787
|
+
"pattern": "I pw do not see element with attribute {string} having value {string}",
|
|
788
788
|
"type": "When"
|
|
789
789
|
},
|
|
790
790
|
{
|
|
791
|
-
"pattern": "I see element attribute {string} contains {string}",
|
|
791
|
+
"pattern": "I pw see element attribute {string} contains {string}",
|
|
792
792
|
"type": "Then"
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
|
-
"pattern": "I see element attribute {string} equals {string}",
|
|
795
|
+
"pattern": "I pw see element attribute {string} equals {string}",
|
|
796
796
|
"type": "Then"
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
|
-
"pattern": "I see element has attribute {string}",
|
|
799
|
+
"pattern": "I pw see element has attribute {string}",
|
|
800
800
|
"type": "When"
|
|
801
801
|
},
|
|
802
802
|
{
|
|
803
|
-
"pattern": "I see button element {string}",
|
|
803
|
+
"pattern": "I pw see button element {string}",
|
|
804
804
|
"type": "When"
|
|
805
805
|
},
|
|
806
806
|
{
|
|
807
|
-
"pattern": "I see heading element {string}",
|
|
807
|
+
"pattern": "I pw see heading element {string}",
|
|
808
808
|
"type": "When"
|
|
809
809
|
},
|
|
810
810
|
{
|
|
811
|
-
"pattern": "I see label element {string}",
|
|
811
|
+
"pattern": "I pw see label element {string}",
|
|
812
812
|
"type": "Then"
|
|
813
813
|
},
|
|
814
814
|
{
|
|
815
|
-
"pattern": "I see link element {string}",
|
|
815
|
+
"pattern": "I pw see link element {string}",
|
|
816
816
|
"type": "When"
|
|
817
817
|
},
|
|
818
818
|
{
|
|
819
|
-
"pattern": "I see testid element {string}",
|
|
819
|
+
"pattern": "I pw see testid element {string}",
|
|
820
820
|
"type": "When"
|
|
821
821
|
},
|
|
822
822
|
{
|
|
823
|
-
"pattern": "I see role element {string}",
|
|
823
|
+
"pattern": "I pw see role element {string}",
|
|
824
824
|
"type": "When"
|
|
825
825
|
},
|
|
826
826
|
{
|
|
827
|
-
"pattern": "I see option element {string}",
|
|
827
|
+
"pattern": "I pw see option element {string}",
|
|
828
828
|
"type": "When"
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
|
-
"pattern": "I expect {string} to have count {int}",
|
|
831
|
+
"pattern": "I pw expect {string} to have count {int}",
|
|
832
832
|
"type": "Then"
|
|
833
833
|
},
|
|
834
834
|
{
|
|
835
|
-
"pattern": "I expect {string} to be hidden",
|
|
835
|
+
"pattern": "I pw expect {string} to be hidden",
|
|
836
836
|
"type": "Then"
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
|
-
"pattern": "I get element by selector {string} to have class containing {string}",
|
|
839
|
+
"pattern": "I pw get element by selector {string} to have class containing {string}",
|
|
840
840
|
"type": "When"
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
|
-
"pattern": "I get element by selector {string} to have text {string}",
|
|
843
|
+
"pattern": "I pw get element by selector {string} to have text {string}",
|
|
844
844
|
"type": "When"
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
|
-
"pattern": "I get element by selector {string} to contain text {string}",
|
|
847
|
+
"pattern": "I pw get element by selector {string} to contain text {string}",
|
|
848
848
|
"type": "When"
|
|
849
849
|
},
|
|
850
850
|
{
|
|
851
|
-
"pattern": "I get element by selector {string} to have value {string}",
|
|
851
|
+
"pattern": "I pw get element by selector {string} to have value {string}",
|
|
852
852
|
"type": "When"
|
|
853
853
|
},
|
|
854
854
|
{
|
|
855
|
-
"pattern": "I get element by selector {string} to have attribute {string} with value {string}",
|
|
855
|
+
"pattern": "I pw get element by selector {string} to have attribute {string} with value {string}",
|
|
856
856
|
"type": "When"
|
|
857
857
|
},
|
|
858
858
|
{
|
|
859
|
-
"pattern": "I get element by selector {string} to be visible",
|
|
859
|
+
"pattern": "I pw get element by selector {string} to be visible",
|
|
860
860
|
"type": "When"
|
|
861
861
|
},
|
|
862
862
|
{
|
|
863
|
-
"pattern": "I get element by selector {string} to not contain text {string}",
|
|
863
|
+
"pattern": "I pw get element by selector {string} to not contain text {string}",
|
|
864
864
|
"type": "When"
|
|
865
865
|
},
|
|
866
866
|
{
|
|
867
|
-
"pattern": "I see input value {string} equals {string}",
|
|
867
|
+
"pattern": "I pw see input value {string} equals {string}",
|
|
868
868
|
"type": "Then"
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
|
-
"pattern": "I see input value {string} contains {string}",
|
|
871
|
+
"pattern": "I pw see input value {string} contains {string}",
|
|
872
872
|
"type": "Then"
|
|
873
873
|
},
|
|
874
874
|
{
|
|
875
|
-
"pattern": "I see textarea value {string} equals {string}",
|
|
875
|
+
"pattern": "I pw see textarea value {string} equals {string}",
|
|
876
876
|
"type": "Then"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
879
|
-
"pattern": "I see textarea value {string} contains {string}",
|
|
879
|
+
"pattern": "I pw see textarea value {string} contains {string}",
|
|
880
880
|
"type": "Then"
|
|
881
881
|
},
|
|
882
882
|
{
|
|
883
|
-
"pattern": "I see text {string} equals {string}",
|
|
883
|
+
"pattern": "I pw see text {string} equals {string}",
|
|
884
884
|
"type": "Then"
|
|
885
885
|
},
|
|
886
886
|
{
|
|
887
|
-
"pattern": "I see text {string} contains {string}",
|
|
887
|
+
"pattern": "I pw see text {string} contains {string}",
|
|
888
888
|
"type": "Then"
|
|
889
889
|
},
|
|
890
890
|
{
|
|
891
|
-
"pattern": "I see value {string} equals {string}",
|
|
891
|
+
"pattern": "I pw see value {string} equals {string}",
|
|
892
892
|
"type": "Then"
|
|
893
893
|
},
|
|
894
894
|
{
|
|
895
|
-
"pattern": "I save the browser state to {string}",
|
|
895
|
+
"pattern": "I pw save the browser state to {string}",
|
|
896
896
|
"type": "When"
|
|
897
897
|
},
|
|
898
898
|
{
|
|
899
|
-
"pattern": "I load the browser state from {string}",
|
|
899
|
+
"pattern": "I pw load the browser state from {string}",
|
|
900
900
|
"type": "When"
|
|
901
901
|
},
|
|
902
902
|
{
|
|
903
|
-
"pattern": "I run the database query {string}",
|
|
903
|
+
"pattern": "I pw run the database query {string}",
|
|
904
904
|
"type": "When"
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
|
-
"pattern": "I expect the database to return {int} record(s)",
|
|
907
|
+
"pattern": "I pw expect the database to return {int} record(s)",
|
|
908
908
|
"type": "Then"
|
|
909
909
|
},
|
|
910
910
|
{
|
|
911
|
-
"pattern": "I expect the database to return no records",
|
|
911
|
+
"pattern": "I pw expect the database to return no records",
|
|
912
912
|
"type": "Then"
|
|
913
913
|
},
|
|
914
914
|
{
|
|
915
|
-
"pattern": "I expect the first database record to contain",
|
|
915
|
+
"pattern": "I pw expect the first database record to contain",
|
|
916
916
|
"type": "Then"
|
|
917
917
|
},
|
|
918
918
|
{
|
|
919
|
-
"pattern": "I expect database row {int} to contain",
|
|
919
|
+
"pattern": "I pw expect database row {int} to contain",
|
|
920
920
|
"type": "Then"
|
|
921
921
|
},
|
|
922
922
|
{
|
|
923
|
-
"pattern": "I expect all database records to contain",
|
|
923
|
+
"pattern": "I pw expect all database records to contain",
|
|
924
924
|
"type": "Then"
|
|
925
925
|
},
|
|
926
926
|
{
|
|
927
|
-
"pattern": "I expect database column {string} to exist",
|
|
927
|
+
"pattern": "I pw expect database column {string} to exist",
|
|
928
928
|
"type": "Then"
|
|
929
929
|
},
|
|
930
930
|
{
|
|
931
|
-
"pattern": "I expect database column {string} to contain {string}",
|
|
931
|
+
"pattern": "I pw expect database column {string} to contain {string}",
|
|
932
932
|
"type": "Then"
|
|
933
933
|
},
|
|
934
934
|
{
|
|
935
|
-
"pattern": "I expect database column {string} to be of type {string}",
|
|
935
|
+
"pattern": "I pw expect database column {string} to be of type {string}",
|
|
936
936
|
"type": "When"
|
|
937
937
|
},
|
|
938
938
|
{
|
|
939
|
-
"pattern": "I find element by selector {string}",
|
|
939
|
+
"pattern": "I pw find element by selector {string}",
|
|
940
940
|
"type": "When"
|
|
941
941
|
},
|
|
942
942
|
{
|
|
943
|
-
"pattern": "I get element by selector {string}",
|
|
943
|
+
"pattern": "I pw get element by selector {string}",
|
|
944
944
|
"type": "When"
|
|
945
945
|
},
|
|
946
946
|
{
|
|
947
|
-
"pattern": "I find element by text {string}",
|
|
947
|
+
"pattern": "I pw find element by text {string}",
|
|
948
948
|
"type": "When"
|
|
949
949
|
},
|
|
950
950
|
{
|
|
951
|
-
"pattern": "I find element by title {string}",
|
|
951
|
+
"pattern": "I pw find element by title {string}",
|
|
952
952
|
"type": "When"
|
|
953
953
|
},
|
|
954
954
|
{
|
|
955
|
-
"pattern": "I find element by testid {string}",
|
|
955
|
+
"pattern": "I pw find element by testid {string}",
|
|
956
956
|
"type": "When"
|
|
957
957
|
},
|
|
958
958
|
{
|
|
959
|
-
"pattern": "I find element by role {string}",
|
|
959
|
+
"pattern": "I pw find element by role {string}",
|
|
960
960
|
"type": "When"
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
|
-
"pattern": "I find element by placeholder text {string}",
|
|
963
|
+
"pattern": "I pw find element by placeholder text {string}",
|
|
964
964
|
"type": "When"
|
|
965
965
|
},
|
|
966
966
|
{
|
|
967
|
-
"pattern": "I find element by label text {string}",
|
|
967
|
+
"pattern": "I pw find element by label text {string}",
|
|
968
968
|
"type": "Then"
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
|
-
"pattern": "I find element by alt text {string}",
|
|
971
|
+
"pattern": "I pw find element by alt text {string}",
|
|
972
972
|
"type": "When"
|
|
973
973
|
},
|
|
974
974
|
{
|
|
975
|
-
"pattern": "I find link by text {string}",
|
|
975
|
+
"pattern": "I pw find link by text {string}",
|
|
976
976
|
"type": "When"
|
|
977
977
|
},
|
|
978
978
|
{
|
|
979
|
-
"pattern": "I find heading by text {string}",
|
|
979
|
+
"pattern": "I pw find heading by text {string}",
|
|
980
980
|
"type": "When"
|
|
981
981
|
},
|
|
982
982
|
{
|
|
983
|
-
"pattern": "I find element by name {string}",
|
|
983
|
+
"pattern": "I pw find element by name {string}",
|
|
984
984
|
"type": "When"
|
|
985
985
|
},
|
|
986
986
|
{
|
|
987
|
-
"pattern": "I find elements by selector {string}",
|
|
987
|
+
"pattern": "I pw find elements by selector {string}",
|
|
988
988
|
"type": "When"
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
|
-
"pattern": "I get elements by selector {string}",
|
|
991
|
+
"pattern": "I pw get elements by selector {string}",
|
|
992
992
|
"type": "When"
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
|
-
"pattern": "I find buttons by text {string}",
|
|
995
|
+
"pattern": "I pw find buttons by text {string}",
|
|
996
996
|
"type": "When"
|
|
997
997
|
},
|
|
998
998
|
{
|
|
999
|
-
"pattern": "I get first element",
|
|
999
|
+
"pattern": "I pw get first element",
|
|
1000
1000
|
"type": "When"
|
|
1001
1001
|
},
|
|
1002
1002
|
{
|
|
1003
|
-
"pattern": "I get last element",
|
|
1003
|
+
"pattern": "I pw get last element",
|
|
1004
1004
|
"type": "When"
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
1007
|
-
"pattern": "I get {int}(?:st|nd|rd|th) element",
|
|
1007
|
+
"pattern": "I pw get {int}(?:st|nd|rd|th) element",
|
|
1008
1008
|
"type": "When"
|
|
1009
1009
|
},
|
|
1010
1010
|
{
|
|
1011
|
-
"pattern": "I store element text as {string}",
|
|
1011
|
+
"pattern": "I pw store element text as {string}",
|
|
1012
1012
|
"type": "When"
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
|
-
"pattern": "I get focused element",
|
|
1015
|
+
"pattern": "I pw get focused element",
|
|
1016
1016
|
"type": "When"
|
|
1017
1017
|
},
|
|
1018
1018
|
{
|
|
1019
|
-
"pattern": "I find textarea by label text {string}",
|
|
1019
|
+
"pattern": "I pw find textarea by label text {string}",
|
|
1020
1020
|
"type": "Then"
|
|
1021
1021
|
},
|
|
1022
1022
|
{
|
|
1023
|
-
"pattern": "I find input by display value {string}",
|
|
1023
|
+
"pattern": "I pw find input by display value {string}",
|
|
1024
1024
|
"type": "When"
|
|
1025
1025
|
},
|
|
1026
1026
|
{
|
|
1027
|
-
"pattern": "I find input by placeholder text {string}",
|
|
1027
|
+
"pattern": "I pw find input by placeholder text {string}",
|
|
1028
1028
|
"type": "When"
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
|
-
"pattern": "I find headings by text {string}",
|
|
1031
|
+
"pattern": "I pw find headings by text {string}",
|
|
1032
1032
|
"type": "When"
|
|
1033
1033
|
},
|
|
1034
1034
|
{
|
|
1035
|
-
"pattern": "I find input by ID {string}",
|
|
1035
|
+
"pattern": "I pw find input by ID {string}",
|
|
1036
1036
|
"type": "When"
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
|
-
"pattern": "I find input by name {string}",
|
|
1039
|
+
"pattern": "I pw find input by name {string}",
|
|
1040
1040
|
"type": "When"
|
|
1041
1041
|
},
|
|
1042
1042
|
{
|
|
1043
|
-
"pattern": "I select option {string} from {string}",
|
|
1043
|
+
"pattern": "I pw select option {string} from {string}",
|
|
1044
1044
|
"type": "When"
|
|
1045
1045
|
},
|
|
1046
1046
|
{
|
|
1047
|
-
"pattern": "I check {string}",
|
|
1047
|
+
"pattern": "I pw check {string}",
|
|
1048
1048
|
"type": "When"
|
|
1049
1049
|
},
|
|
1050
1050
|
{
|
|
1051
|
-
"pattern": "I uncheck {string}",
|
|
1051
|
+
"pattern": "I pw uncheck {string}",
|
|
1052
1052
|
"type": "When"
|
|
1053
1053
|
},
|
|
1054
1054
|
{
|
|
1055
|
-
"pattern": "I upload file {string} to {string}",
|
|
1055
|
+
"pattern": "I pw upload file {string} to {string}",
|
|
1056
1056
|
"type": "When"
|
|
1057
1057
|
},
|
|
1058
1058
|
{
|
|
1059
|
-
"pattern": "I accept the next dialog",
|
|
1059
|
+
"pattern": "I pw accept the next dialog",
|
|
1060
1060
|
"type": "When"
|
|
1061
1061
|
},
|
|
1062
1062
|
{
|
|
1063
|
-
"pattern": "I dismiss the next dialog",
|
|
1063
|
+
"pattern": "I pw dismiss the next dialog",
|
|
1064
1064
|
"type": "When"
|
|
1065
1065
|
},
|
|
1066
1066
|
{
|
|
1067
|
-
"pattern": "I type {string} into the next prompt and accept",
|
|
1067
|
+
"pattern": "I pw type {string} into the next prompt and accept",
|
|
1068
1068
|
"type": "When"
|
|
1069
1069
|
},
|
|
1070
1070
|
{
|
|
1071
|
-
"pattern": "I click {string} inside frame {string}",
|
|
1071
|
+
"pattern": "I pw click {string} inside frame {string}",
|
|
1072
1072
|
"type": "When"
|
|
1073
1073
|
},
|
|
1074
1074
|
{
|
|
1075
|
-
"pattern": "I fill {string} inside frame {string} with {string}",
|
|
1075
|
+
"pattern": "I pw fill {string} inside frame {string} with {string}",
|
|
1076
1076
|
"type": "When"
|
|
1077
1077
|
},
|
|
1078
1078
|
{
|
|
1079
|
-
"pattern": "I expect {string} inside frame {string} to have text {string}",
|
|
1079
|
+
"pattern": "I pw expect {string} inside frame {string} to have text {string}",
|
|
1080
1080
|
"type": "Then"
|
|
1081
1081
|
}
|
|
1082
1082
|
]
|