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

Behat failures with identity fields in clean (regression of MDL-62520)

    XMLWordPrintable

    Details

      Description

      This is a followup of MDL-62520, with changes there causing a couple of consistent failures with behat tests when using clean:

      --suite clean --profile seleniumchrome --name 'Course participants can be filtered'
      Moodle 3.6dev (Build: 20180727), e52856bc9ae8dee97f897cdec1ae9e05618f5a35
      Php: 7.0.31, mysqli: 5.6.34, OS: Darwin 17.7.0 x86_64
      Server OS "Darwin", Browser: "chrome"
      Browser specific fixes have been applied. See http://docs.moodle.org/dev/Acceptance_testing#Browser_specific_fixes
      Started at 16-09-2018, 16:33
      ...................................................................... 70
      ...................................................................... 140
      ...................................................F------------------ 210
      ----...................F--------------..............
       
      --- Pasos fallidos:
       
      001 Scenario: Filter by user identity fields                                   # /Users/stronk7/git_moodle/integration/user/tests/behat/filter_participants.feature:156
            Given I click on ".tag[data-value='student1@example.com']" "css_element" # /Users/stronk7/git_moodle/integration/user/tests/behat/filter_participants.feature:169
              Css matching locator ".tag[data-value='student1@example.com']" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
      002 Scenario: Filter by user identity fields when cannot see the field data # /Users/stronk7/git_moodle/integration/user/tests/behat/filter_participants.feature:197
            Given I click on ".tag[data-value='@example.com']" "css_element"      # /Users/stronk7/git_moodle/integration/user/tests/behat/filter_participants.feature:216
              Css matching locator ".tag[data-value='@example.com']" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
      14 escenarios (12 pasaron, 2 fallaron)
      262 pasos (224 pasaron, 2 fallaron, 36 saltadas)
      3m12.19s (50.45Mb)
      

      This is about to determine when this is just something to fix in behat tests (likely) and/or requires to change the applied solution.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Peer reviewer:
                Mihail Geshoski
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                CiBoT
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18