MOBILE-4270 behat: Specify failed field to be set on error

main
Pau Ferrer Ocaña 2023-05-11 12:22:58 +02:00
parent 8d101d35ac
commit 96a121f3db
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ class behat_app extends behat_app_helper {
$result = $this->runtime_js("setField('$field', '$value')"); $result = $this->runtime_js("setField('$field', '$value')");
if ($result !== 'OK') { if ($result !== 'OK') {
throw new DriverException('Error setting field - ' . $result); throw new DriverException('Error setting field "' . $field . '" - ' . $result);
} }
return true; return true;