From 0141968b9e725da2036c548cadb7631a56a376e6 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Wed, 4 Sep 2013 13:40:56 +0800 Subject: [PATCH] MDL-41555 tool_behat: Improving behat & selenium exceptions messages Also moving the 'selenium not running' checking to a proper place as it was not thrown since the homepage start visit() was introduced. --- admin/tool/behat/lang/en/tool_behat.php | 1 + lib/tests/behat/behat_hooks.php | 58 +++++++++++++++---------- 2 files changed, 35 insertions(+), 24 deletions(-) diff --git a/admin/tool/behat/lang/en/tool_behat.php b/admin/tool/behat/lang/en/tool_behat.php index 9f426cc6a01..a67581d7664 100644 --- a/admin/tool/behat/lang/en/tool_behat.php +++ b/admin/tool/behat/lang/en/tool_behat.php @@ -38,6 +38,7 @@ $string['stepsdefinitionscontains'] = 'Contains'; $string['stepsdefinitionsfilters'] = 'Steps definitions'; $string['stepsdefinitionstype'] = 'Type'; $string['theninfo'] = 'Then. Checkings to ensure the outcomes are the expected ones'; +$string['unknownexceptioninfo'] = 'There was a problem with Selenium or the browser, try to upgrade Selenium to the latest version. Error: '; $string['viewsteps'] = 'Filter'; $string['wheninfo'] = 'When. Actions that provokes an event'; $string['wrongbehatsetup'] = 'Something is wrong with behat setup, ensure: