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

Behat race condition in badges

    XMLWordPrintable

Details

    Description

      When creating a new badge, if the site is not accessible, a message is shown to indicate this fact.
      The message is shown via ajax, and can interfere with interactions on the page.

      Award badges.Award badge on activity completion
       
      Error Message
      And I set the following fields to these values:: unknown error: Element <a href="#" class="collapseexpand" role="button" aria-controls="yui_3_17_2_1_1515464816210_174 yui_3_17_2_1_1515464816210_181 yui_3_17_2_1_1515464816210_185">...</a> is not clickable at point (919, 242). Other element would receive the click: <div id="check_connection" class="box notifyproblem p-y-1">...</div>
        (Session info: chrome=63.0.3239.132)
        (Driver info: chromedriver=2.34.522913 (36222509aa6e819815938cbf2709b4849735537c),platform=Linux 4.10.0-42-generic x86_64) (WebDriver\Exception\UnknownError)
      

      https://ci.moodle.org/job/S.02%20-%20Behat%20-%20Chrome%20+%20Postgres/39/testReport/(root)/Award%20badges/Award_badge_on_activity_completion/

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Jun Pataleta Jun Pataleta
              Jake Dallimore Jake Dallimore
              CiBoT CiBoT
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Mar/18