diff --git a/tests/behat/app_behat_runtime.js b/tests/behat/app_behat_runtime.js index fac2f2dd1..0f61bcc3c 100644 --- a/tests/behat/app_behat_runtime.js +++ b/tests/behat/app_behat_runtime.js @@ -617,7 +617,7 @@ return 'ERROR: All items are already loaded'; } - infiniteLoading.scrollIntoView(); + infiniteLoading.scrollIntoView({ behavior: 'smooth' }); // Wait 100ms await new Promise(resolve => setTimeout(resolve, 100));