Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-5571

Try and upgrade CI infrastructure to use latest selenium

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • Integration
    • None

    Description

      While running a number of jobs locally towards getting completed the 3.6 testing release matrix . I tried this combination:

      • Current selenium server: 3.141.59
      • Current chromedriver version: 2.44
      • Current chrome: 70
      • Old firefox supporting selenium driver (47.0.1)

      And I got complete runs passing, with way less randomness and chick executions (specially with Chrome). Tried in a number of Mac runs (chrome and firefox) and Windows (chrome).

      Also, it fixes the Firefox consistent failures that we have @ CIs for 35_STABLE and up (tags....) and here I got all them passing.

      So this is about to try those combinations and maybe, if everything goes ok, apply for them @ CIs and surely, also make them the recommended ones @ Moodle Docs.

      For the records, these are the behat configs I'm using here:

          // with Chrome browser (js) and Goutte headless browser (nonjs).
          // Behat 3.x version.
          'seleniumchrome' => array(
              'extensions' => array(
                  'Behat\MinkExtension' => array(
                      'default_session' => 'goutte',
                      'goutte' => null,
                      'javascript_session' => 'selenium2',
                      'selenium2' => array(
                          'browser' => 'chrome',
                          'capabilities' => array(
                              'extra_capabilities' => array(
                                  'chromeOptions' => array(
                                      'args' => array(
                                          '--disable-infobars'
                                      )
                                  )
                              )
                          )
                      )
                  )
              )
          ),
       
          // with Firefox browser (js) and Goutte headless browser (nonjs).
          // Behat 3.x version.
          'seleniumfirefox' => array(
              'extensions' => array(
                  'Behat\MinkExtension' => array(
                      'default_session' => 'goutte',
                      'goutte' => null,
                      'javascript_session' => 'selenium2',
                      'selenium2' => array(
                          'browser' => 'firefox',
                          'capabilities' => array(
                              'extra_capabilities' => array(
                                  'marionette' => false,
                              )
                          ),
                      )
                  )
              )
          ),
      

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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