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

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              dobedobedoh Andrew Lyons
              Peer reviewer:
              Jun Pataleta Jun Pataleta
              Integrator:
              Jake Dallimore Jake Dallimore
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/Mar/18