Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4141

Support labels using for attribute in Behat field selectors

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 4.0.1
    • Behat
    • MOODLE_400_STABLE

    Description

      At the moment, a label using a for attribute for an input is not working properly in Behat tests.

      For example, the following step should work with the selector I set the field "Username" to "student" in the app:

      <label for="username">Username</label>
      <input name="username" id="username" />
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            noeldemartin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

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