moodle/lib/tests/behat
Eloy Lafuente (stronk7) 10a4932e25 MDL-71364 behat: fix randomness causes by "now" advancing
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.
2021-04-17 12:31:23 +02:00
..
action_menu.feature MDL-70148 behat: Update steps for keyboard 2020-11-17 15:14:43 +08:00
action_modal.feature MDL-68492 Behat: Use faster direct link steps in lib/tests/behat 2020-04-24 12:09:15 +01:00
alpha_chooser.feature MDL-68492 Behat: Use faster direct link steps in lib/tests/behat 2020-04-24 12:09:15 +01:00
app_behat_runtime.js MDL-71194 behat: Fix app tests 2021-03-25 13:53:30 +01:00
behat_accessibility.php MDL-67687 behat: Make axe tests optional 2020-08-04 18:56:57 +08:00
behat_action_menu.php MDL-58428 theme: Shift templates ready for Bootstrapbase removal 2019-02-22 15:19:33 +08:00
behat_app.php MDL-69421 behat: Revert app behat navigation to call session visit 2020-08-06 12:08:43 +02:00
behat_data_generators.php MDL-69068 behat: New step to support singular generators 2020-07-15 15:27:31 +08:00
behat_deprecated.php MDL-65215 core: Deprecate i_dock_block 2020-11-24 10:02:00 +08:00
behat_filters.php MDL-36255 grades: allow multilang filters in grades 2018-08-20 08:29:36 +02:00
behat_forms.php MDL-66979 behat: Fix window switching 2021-01-22 14:52:10 +08:00
behat_general.php MDL-70726 behat: should_not_exist function does not work correctly 2021-03-01 17:55:05 +07:00
behat_hooks.php MDL-66979 behat: Add a step to set a timeout factor for a test 2021-01-29 14:15:24 +08:00
behat_navigation.php MDL-69138 behat: Update session->visit() to use visit step 2020-07-22 16:43:08 +08:00
behat_permissions.php MDL-66999 theme_boost: @extend remove extends for tables 2019-12-12 11:27:56 +01:00
behat_transformations.php MDL-44613 behat: strftime format in time to timestamp transformation 2021-03-15 08:22:12 +08:00
datetime_any.feature MDL-71364 behat: fix randomness causes by "now" advancing 2021-04-17 12:31:23 +02:00
largeforms.feature MDL-68492 Behat: Use faster direct link steps in lib/tests/behat 2020-04-24 12:09:15 +01:00
locking.feature MDL-68492 Behat: Use faster direct link steps in lib/tests/behat 2020-04-24 12:09:15 +01:00
permissionmanager.feature MDL-68492 Behat: Use faster direct link steps in lib/tests/behat 2020-04-24 12:09:15 +01:00
readonlyform.feature MDL-68492 Behat: Use faster direct link steps in lib/tests/behat 2020-04-24 12:09:15 +01:00
securelayout.feature MDL-68041 core_theme: New admin settings in secure page layout 2020-05-11 17:23:17 +10:00
showuseridentity.feature MDL-45242 Lib: Allow custom profile fields in showuseridentity 2021-03-08 09:20:18 +00:00
timezone.feature MDL-57281 behat: deprecated step definition I navigate to node in 2018-08-20 12:53:26 +01:00
userfeedback.feature MDL-68991 core: Prevent popup blockers blocking feedback window 2020-06-10 16:10:53 +10:00