Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52839

Some scenarios failing on Selenium 2.49

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Run following on Selenium 2.49 and 2.48.2 with FF and ensure they don't fail.

        while [[ $? -eq 0 ]]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/behat/behat.yml --name "General activities course controls using topics and weeks formats, and paged mode and not paged mode works as expected"; done
        

        while [[ $? -eq 0 ]]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/behat/behat.yml --name "Submit a PDF file as a student and annotate the PDF as a teacher"; done
        

      1. Run whole suite with Selenium 2.49 and 2.48.2, make sure whole suite pass

      Note: If there is any fail then ensure it's a persistent fail. For random fail, please report as separate issue.

      Show
      Run following on Selenium 2.49 and 2.48.2 with FF and ensure they don't fail. while [[ $? -eq 0 ]]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/behat/behat.yml --name "General activities course controls using topics and weeks formats, and paged mode and not paged mode works as expected"; done while [[ $? -eq 0 ]]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/behat/behat.yml --name "Submit a PDF file as a student and annotate the PDF as a teacher"; done Run whole suite with Selenium 2.49 and 2.48.2, make sure whole suite pass Note: If there is any fail then ensure it's a persistent fail. For random fail, please report as separate issue.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      wip-mdl-52839

      Description

      I just encountered 1st scenario failing on selenium 2.49, will post more (if found later)

      (::) failed steps (::)
       
      01. Exception thrown by (//html//img[@alt="Blue"])[1]
          Element is not clickable at point (1353, 355). Other element would receive the click: <button style="background-image: none;" data-rgb="rgb(203,217,237)" data-colour="blue"></button>
          Command duration or timeout: 66 milliseconds
          Build info: version: '2.49.0', revision: '365eeb4', time: '2016-01-13 18:37:00'
          System info: host: 'rajesh', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-74-generic', java.version: '1.7.0_91'
          Session ID: 7ca60be4-43a8-4a71-9dae-f4304446ce4b
          Driver info: org.openqa.selenium.firefox.FirefoxDriver
          Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=43.0.4}]
          In step `And I click on "//img[@alt=\"Blue\"]" "xpath_element"'.                  # behat_general::i_click_on()
          From scenario `Submit a PDF file as a student and annotate the PDF as a teacher'. # /home/rajesh/moodles/im/moodle/mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature:8
          Of feature `In an assignment, teacher can annotate PDF files during grading'.
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Mar/16