-
Improvement
-
Resolution: Fixed
-
Minor
-
3.7.2
-
-
MOODLE_37_STABLE
-
MOODLE_38_STABLE
-
Moodle App 3.8.0
We need to create a new method, maybe in the appProvider, to be able to detect if the app is controlled by automation (like Behat), because:
1 - For non-English browsers the tests fail (and it is not possible to force Chrome in English using chrome switches, Chrome issue) so we need to force the language to English in the app itself when automation is on.
2 - To expose only the appProvider (via window object) when automation is on.
Pleaese, refer to https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver for reference