From a2da0c54f16e8bdbd423f6ccd3875f5bf9773369 Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 10 Dec 2024 13:49:58 +0530 Subject: [PATCH] fix: wait for idle after clicking the fit --- tests/testthat/test-shinytest2-tm_a_mmrm.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/test-shinytest2-tm_a_mmrm.R b/tests/testthat/test-shinytest2-tm_a_mmrm.R index 4c98bd0bc..11f99ef87 100644 --- a/tests/testthat/test-shinytest2-tm_a_mmrm.R +++ b/tests/testthat/test-shinytest2-tm_a_mmrm.R @@ -62,6 +62,7 @@ app_driver_tm_a_mmrm <- function(fit_model = TRUE) { ) if (fit_model) { app_driver$click(selector = app_driver$active_module_element("button_start")) + app_driver$wait_for_idle() } app_driver }