Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3216

Include method for checking if the app is controlled by automation (Behat)


    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8.0
    • 3.7.2
    • Behat
    • 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

            pferre22 Pau Ferrer
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            0 Vote for this issue
            4 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.