mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
![]() Some recent tests do set a date time element to ##now## or tomorrow and, immediately after that the look if, effectively, ##now## and #tomorrow# have been set (with minutes resolution). Problem is that, between the field is set and the field is verified, it can happen that the time advances to next minute (from H:M:59 to H:M+1:00) and then the assertion fails. To avoid this, we could have lowered the resolution to be hours... but that doesn't solve the problem just makes it to happen less often. So, instead of that... we are setting the 2 now and tomorrow cases to be "today noon" and "tomorrow noon" (12:00:00) so we ensure they won't be ever in the risk of jumping of minute. |
||
---|---|---|
.. | ||
action_menu.feature | ||
action_modal.feature | ||
alpha_chooser.feature | ||
app_behat_runtime.js | ||
behat_accessibility.php | ||
behat_action_menu.php | ||
behat_app.php | ||
behat_data_generators.php | ||
behat_deprecated.php | ||
behat_filters.php | ||
behat_forms.php | ||
behat_general.php | ||
behat_hooks.php | ||
behat_navigation.php | ||
behat_permissions.php | ||
behat_transformations.php | ||
datetime_any.feature | ||
largeforms.feature | ||
locking.feature | ||
permissionmanager.feature | ||
readonlyform.feature | ||
securelayout.feature | ||
showuseridentity.feature | ||
timezone.feature | ||
userfeedback.feature |