diff --git a/features/cron-event.feature b/features/cron-event.feature index a1470b6f..8c5da0d9 100644 --- a/features/cron-event.feature +++ b/features/cron-event.feature @@ -3,6 +3,9 @@ Feature: Manage WP Cron events Background: Given a WP install + # Fails on WordPress 4.9 because `wp cron event run --due-now` + # executes the "wp_privacy_delete_old_export_files" event there. + @require-wp-5.0 Scenario: --due-now with supplied events should only run those # WP throws a notice here for older versions of core. When I try `wp cron event run --all` diff --git a/features/cron.feature b/features/cron.feature index 31f6e1d7..8e093f42 100644 --- a/features/cron.feature +++ b/features/cron.feature @@ -303,6 +303,9 @@ Feature: Manage WP-Cron events and schedules Success: Executed a total of """ + # Fails on WordPress 4.9 because `wp cron event run --due-now` + # executes the "wp_privacy_delete_old_export_files" event there. + @require-wp-5.0 Scenario: Run currently scheduled events # WP throws a notice here for older versions of core. When I try `wp cron event run --all`