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: features/interactive.feature
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -224,6 +224,34 @@ Feature: It is possible to interactively fill in a form from the CLI
224
224
Errors out of the form's scope - do you have validation constraints on properties not used in the form? (Violations on unused fields: data.fieldNotUsedInTheForm)
225
225
"""
226
226
227
+
Scenario: Checkbox field - answer yes
228
+
When I run the command "form:coffee" and I provide as input
229
+
"""
230
+
y[enter]
231
+
"""
232
+
Then the command has finished successfully
233
+
And the output should be
234
+
"""
235
+
Do you want milk in your coffee?: Array
236
+
(
237
+
[milk] => 1
238
+
)
239
+
"""
240
+
241
+
Scenario: Checkbox field - answer no
242
+
When I run the command "form:coffee" and I provide as input
243
+
"""
244
+
n[enter]
245
+
"""
246
+
Then the command has finished successfully
247
+
And the output should be
248
+
"""
249
+
Do you want milk in your coffee?: Array
250
+
(
251
+
[milk] =>
252
+
)
253
+
"""
254
+
227
255
Scenario: Choice with options which cannot be converted to string
228
256
When I run the command "form:unstringable_choices" and I provide as input
0 commit comments