MOBILE-4270 behat: Specify failed field to be set on error
parent
8d101d35ac
commit
96a121f3db
|
@ -765,7 +765,7 @@ class behat_app extends behat_app_helper {
|
|||
$result = $this->runtime_js("setField('$field', '$value')");
|
||||
|
||||
if ($result !== 'OK') {
|
||||
throw new DriverException('Error setting field - ' . $result);
|
||||
throw new DriverException('Error setting field "' . $field . '" - ' . $result);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue