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

Behat tests - Human-readable and relative dates no longer working

XMLWordPrintable

    • MOODLE_311_STABLE

      Use of the following is no longer working (apologies if I have been unable to find a deprecation). The docs (https://docs.moodle.org/dev/Writing_acceptance_tests) still refer to it:

      When I set the following fields to these values:
      | myDate[day] | ## yesterday ## j ## |
      | myDate[month] | ## yesterday ## n ## |
      | myDate[year] | ## yesterday ## Y ## |

      Error:
      Select option with value|text "j" not found. (Behat\Mink\Exception\ElementNotFoundException)

            Unassigned Unassigned
            amanda.doughty Amanda Doughty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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