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

Form autocomplete not always detected by behat

XMLWordPrintable

    • 0
    • Internationals - 3.11 Sprint 1, Internationals - 3.11 Sprint 2, Internationals - 3.11 Sprint 3

      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.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Simey Lameze Simey Lameze
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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