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

Random behat failures: 'value' must be a string when selecting users

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-67827-master
    • Hide

      CI should have a mass reduction in random failures

      Manual testing

      1. Stick the attached failme.feature into a behat directory
      2. Run it in a loop
      3. Observe your browser dance for you

      Note: I have only used this test in master.

      Show
      CI should have a mass reduction in random failures Manual testing Stick the attached failme.feature into a behat directory Run it in a loop Observe your browser dance for you Note: I have only used this test in master.

      Issue link: https://ci.moodle.org/job/W.03.01%20-%20Behat%20-%20Chrome%20+%20Postgres/635/

      001 Scenario: Searching for a non-existing user          # /var/www/html/enrol/manual/tests/behat/quickenrolment.feature:130
            And I set the field "Select users" to "qwertyuiop" # /var/www/html/enrol/manual/tests/behat/quickenrolment.feature:133
              Exception: invalid argument: 'value' must be a string
                (Session info: chrome=79.0.3945.117)
                (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 4.15.0-74-generic x86_64) in /var/www/html/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:144
      

      This has been detected to be happening at very least in the following scenarios:

      • Searching for a non-existing user
      • Teacher can search and enrol one particular student
      • If there are less than 100 matching users, all are displayed for selection
      • If there are more than 100 matching users, inform there are too many
      • Change the Show user identity setting affects the enrolment pop-up : (happens 2x often than the others)
      • Changing the Maximum users per page setting affects the enrolment pop-up

      Never failing twice apparently, but the last one, that have happened twice a couple of times at very least.

            dobedobedoh Andrew Lyons
            vmdef Victor Déniz Falcón
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 22 minutes
                7h 22m

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