MDL-79062 behat: Add number type when guessing field type

This commit is contained in:
Jun Pataleta
2023-11-02 22:19:54 +08:00
parent ad4736b5ec
commit 4b302063c3
+1 -2
View File
@@ -159,13 +159,12 @@ class behat_field_manager {
case 'password':
case 'email':
case 'file':
case 'number':
return 'text';
case 'checkbox':
return 'checkbox';
break;
case 'radio':
return 'radio';
break;
default:
// Here we return false because all text-based
// fields should be included in the first switch case.