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

Form autocomplete not always detected by behat

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Sprint:
      Internationals - 3.11 Sprint 1, Internationals - 3.11 Sprint 2, Internationals - 3.11 Sprint 3

      Description

      Where a autocomplete element is used outside of a Moodle form, it is not always detected as being an autocomplete by the behat field manager.

      This means that you instead up with an additional set of steps like:
      I press key "13" in the field "foo"

      The reason it is not detected as an autocomplete is that the detection comes from the parent div created by the form template.

      The autocomplete code can easily add a new data attribute to more readily identify itself as an autocomplete to give a more consistent use.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              dobedobedoh Andrew Lyons
              Peer reviewer:
              Simey Lameze Simey Lameze
              Integrator:
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Jan/21

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 20 minutes
                  1d 1h 20m