Skip to content
  • Eloy Lafuente's avatar
    MDL-71264 behat: New feature covering all day/month/year date changes · f751383a
    Eloy Lafuente authored
    Because of the order that dates and datetimes are filled by behat
    sometimes there are some intermediate results that are impossible
    and then the form (javascript) automatically reacts and fixes the
    date, ultimate leading to a different date that the one we wanted
    to set with Behat.
    
    This is noticeable when switching between months (with some day
    being the last day of the month) and the 2 months have a different
    number of days. For example April date => March date (or the opposite).
    
    This test covers all the critical changes (day, month and year),
    back and forth. All times are Perth/Australia.
    f751383a