Skip to content

Conversation

@m7pr
Copy link
Contributor

@m7pr m7pr commented Nov 20, 2025

Logs

Part of

Issue tries to fix

  • plot_with_settings
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • {whitr} is not installed (1): 'test-optionalSliderInputValMinMax_ui.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot_with_settings_ui.R:270:5'): e2e: teal.widgets::plot_with_settings: the click on the resize button opens a dropdown menu
    plot height, plot width, plot, download dropdown and dismiss button ──
  Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args, screenshot_args = screenshot_args, check_names = check_names, name = name, variant = variant, view = view, height = height, width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args, render_args = render_args, options = options)`: Shiny app did not become stable in 15000ms.
  Message: An error occurred while waiting for Shiny to be stable
  Caused by error in `app_wait_for_idle()`:
  ! An error occurred while waiting for Shiny to be stable
  
  
  i You can inspect the failed AppDriver object via `rlang::last_error()$app`
  i AppDriver logs:
  {shinytest2} R  info   03:26:40.20 Start AppDriver initialization
  {shinytest2} R  info   03:26:40.38 Starting Shiny app
  {shinytest2} R  info   03:26:41.63 Creating new ChromoteSession
  {shinytest2} R  info   03:26:41.69 Setting window size: 1000x1000
  {shinytest2} R  info   03:26:41.69 Setting window size to `1000`x`1000`
  {shinytest2} R  info   03:26:41.69 Navigating to Shiny app
  {shinytest2} R  info   03:26:41.71 Injecting shiny-tracer.js
  {chromote}   JS info   03:26:41.81 shinytest2; jQuery not found
  {chromote}   JS info   03:26:41.81 shinytest2; Loaded
  {shinytest2} R  info   03:26:41.82 Waiting for Shiny to become ready
  {shinytest2} R  info   03:26:44.23 Waiting for Shiny to become idle for 200ms within 15000ms
  {shinytest2} R  info   03:26:44.36 Error while initializing AppDriver:
                                     Shiny app did not become stable in 15000ms.
                                     Message: An error occurred while waiting for Shiny to be stable
                                     Caused by error in `app_wait_for_idle()`:
                                     ! An error occurred while waiting for Shiny to be stable
  {shiny}      R  stderr ----------- Loading required package: shiny
  {shiny}      R  stderr ----------- Running application in test mode.
  {shiny}      R  stderr ----------- 
  {shiny}      R  stderr ----------- Listening on http://127.0.0.1:5338
  
  
  Caused by error in `app_initialize_()`:
  ! Shiny app did not become stable in 15000ms.
  Message: An error occurred while waiting for Shiny to be stable
  Caused by error in `app_wait_for_idle()`:
  ! An error occurred while waiting for Shiny to be stable
  Backtrace:
       ▆
    1. ├─shinytest2::AppDriver$new(...) at test-plot_with_settings_ui.R:270:5
    2. │ └─shinytest2 (local) initialize(...)
    3. │   └─shinytest2:::app_initialize(...)
    4. │     ├─base::withCallingHandlers(...)
    5. │     └─shinytest2:::app_initialize_(self, private, ..., view = view)
    6. │       ├─base::withCallingHandlers(...)
    7. │       └─self$wait_for_idle(duration = 200, timeout = private$load_timeout)
    8. │         └─shinytest2:::app_wait_for_idle(...)
    9. │           └─shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
   10. │             └─rlang::abort(..., app = self, call = call)
   11. │               └─rlang:::signal_abort(cnd, .file)
   12. │                 └─base::signalCondition(cnd)
   13. ├─shinytest2 (local) `<fn>`(`<rlng_rrr>`)
   14. │ └─shinytest2:::app_abort(...)
   15. │   └─rlang::abort(..., app = self, call = call)
   16. │     └─rlang:::signal_abort(cnd, .file)
   17. │       └─base::signalCondition(cnd)
   18. └─shinytest2 (local) `<fn>`(`<rlng_rrr>`)
   19.   └─shinytest2:::app_abort(...)
   20.     └─rlang::abort(..., app = self, call = call)
  ── Error ('test-plot_with_settings_ui.R:409:3'): e2e teal.widgets::plot_with_settings: expanded image can be downloaded ──
  Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args, screenshot_args = screenshot_args, check_names = check_names, name = name, variant = variant, view = view, height = height, width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args, render_args = render_args, options = options)`: Shiny app did not become stable in 15000ms.
  Message: An error occurred while waiting for Shiny to be stable
  Caused by error in `app_wait_for_idle()`:
  ! An error occurred while waiting for Shiny to be stable
  
  
  i You can inspect the failed AppDriver object via `rlang::last_error()$app`
  i AppDriver logs:
  {shinytest2} R  info   03:27:25.73 Start AppDriver initialization
  {shinytest2} R  info   03:27:26.10 Starting Shiny app
  {shinytest2} R  info   03:27:28.21 Creating new ChromoteSession
  {shinytest2} R  info   03:27:28.34 Navigating to Shiny app
  {shinytest2} R  info   03:27:28.36 Injecting shiny-tracer.js
  {chromote}   JS info   03:27:28.40 shinytest2; jQuery not found
  {chromote}   JS info   03:27:28.41 shinytest2; Loaded
  {shinytest2} R  info   03:27:28.41 Waiting for Shiny to become ready
  {shinytest2} R  info   03:27:31.23 Waiting for Shiny to become idle for 200ms within 15000ms
  {shinytest2} R  info   03:27:31.32 Error while initializing AppDriver:
                                     Shiny app did not become stable in 15000ms.
                                     Message: An error occurred while waiting for Shiny to be stable
                                     Caused by error in `app_wait_for_idle()`:
                                     ! An error occurred while waiting for Shiny to be stable
  {shiny}      R  stderr ----------- Loading required package: shiny
  {shiny}      R  stderr ----------- Running application in test mode.
  {shiny}      R  stderr ----------- 
  {shiny}      R  stderr ----------- Listening on http://127.0.0.1:5932
  
  
  Caused by error in `app_initialize_()`:
  ! Shiny app did not become stable in 15000ms.
  Message: An error occurred while waiting for Shiny to be stable
  Caused by error in `app_wait_for_idle()`:
  ! An error occurred while waiting for Shiny to be stable

@m7pr m7pr requested a review from llrs-roche November 20, 2025 10:38
@m7pr m7pr added the core label Nov 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

Unit Tests Summary

  1 files   16 suites   1m 56s ⏱️
170 tests 169 ✅ 1 💤 0 ❌
386 runs  385 ✅ 1 💤 0 ❌

Results for commit 567d2e1.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

badge

Code Coverage Summary

Filename                      Stmts    Miss  Cover    Missing
--------------------------  -------  ------  -------  ------------------------------------------------------
R/basic_table_args.R             23       0  100.00%
R/draggable_buckets.R            87      12  86.21%   116-121, 151-156
R/get_dt_rows.R                  13       0  100.00%
R/ggplot2_args.R                 49       0  100.00%
R/nested_closeable_modal.R       20      20  0.00%    83-103
R/optionalInput.R               255      79  69.02%   190, 315-389, 402-409, 411-416, 434, 436, 501, 583-596
R/panel_group.R                  39      39  0.00%    50-136
R/plot_with_settings.R          309      16  94.82%   299-305, 327, 364, 373-374, 390, 578-579, 581, 583
R/standard_layout.R              52       4  92.31%   90-93
R/table_with_settings.R         158       1  99.37%   100
R/utils.R                         7       0  100.00%
R/verbatim_popup.R              105      35  66.67%   113-114, 116, 124-155
R/white_small_well.R              7       0  100.00%
TOTAL                          1124     206  81.67%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: 567d2e1

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@github-actions
Copy link
Contributor

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
draggable_buckets 💔 $0.38$ $+8.33$ $+2$ $-3$ $0$ $0$
get_dt_rows_ui 💔 $0.04$ $+2.78$ $+4$ $-1$ $0$ $0$
optionalSelectInput_ui 💔 $0.22$ $+2.86$ $+14$ $-1$ $0$ $0$
optionalSliderInputValMinMax_ui 💔 $0.04$ $+2.34$ $+1$ $-1$ $0$ $0$
plot_with_settings_ui 💔 $0.22$ $+52.59$ $+30$ $-11$ $0$ $0$
table_with_settings_ui 💔 $0.30$ $+32.18$ $+47$ $-8$ $0$ $0$
verbatim_popup_ui 💔 $0.11$ $+6.98$ $+7$ $-3$ $0$ $0$
Additional test case details
Test Suite $Status$ Time on main $±Time$ Test Case
draggable_buckets 💔 $0.11$ $+2.27$ e2e_teal.widgets_draggable_buckets_initializes_with_default_inputs
draggable_buckets 💔 $0.13$ $+3.20$ e2e_teal.widgets_draggable_buckets_initializes_without_input
draggable_buckets 💔 $0.07$ $+2.84$ e2e_teal.widgets_draggable_buckets_moving_elements_between_buckets_updates_input
get_dt_rows_ui 💔 $0.03$ $+2.74$ e2e_teal.widgets_get_dt_rows_rows_are_settable_and_visible
optionalSelectInput_ui 💔 $0.01$ $+2.92$ e2e_teal.widgets_optionalSelectInput_initializes
optionalSliderInputValMinMax_ui 💔 $0.01$ $+2.29$ e2e_teal.widgets_optionalSliderInputValMinMax_initializes
plot_with_settings_ui 💔 $0.04$ $+4.35$ e2e_teal.widgets_plot_with_settings_buttons_have_proper_FA_icons_and_two_of_them_are_dropdowns
plot_with_settings_ui 💔 $0.02$ $+4.20$ e2e_teal.widgets_plot_with_settings_clicking_download_download_button_downloads_image_in_a_specified_format
plot_with_settings_ui 💔 $0.01$ $+4.89$ e2e_teal.widgets_plot_with_settings_expanded_image_can_be_downloaded
plot_with_settings_ui 💔 $0.01$ $+8.52$ e2e_teal.widgets_plot_with_settings_expanded_image_can_be_resized
plot_with_settings_ui 💔 $0.00$ $+3.41$ e2e_teal.widgets_plot_with_settings_initializes_with_a_plot_and_the_settings_buttons
plot_with_settings_ui 💔 $0.01$ $+3.46$ e2e_teal.widgets_plot_with_settings_it_is_possible_to_set_height_and_width_for_the_plot_on_the_third_button_dropdown_menu_without_errors
plot_with_settings_ui 💔 $0.01$ $+4.63$ e2e_teal.widgets_plot_with_settings_main_image_can_be_resized
plot_with_settings_ui 💔 $0.01$ $+5.28$ e2e_teal.widgets_plot_with_settings_scrollbar_appears_when_image_is_resized
plot_with_settings_ui 💔 $0.01$ $+4.38$ e2e_teal.widgets_plot_with_settings_the_click_on_the_download_button_in_expand_modal_opens_a_download_dropdown
plot_with_settings_ui 💔 $0.01$ $+4.95$ e2e_teal.widgets_plot_with_settings_the_click_on_the_expand_button_opens_an_overlay_plot_height_plot_width_plot_download_dropdown_and_dismiss_button
plot_with_settings_ui 💔 $0.01$ $+4.54$ e2e_teal.widgets_plot_with_settings_the_click_on_the_resize_button_opens_a_dropdown_menu_plot_height_plot_width_plot_download_dropdown_and_dismiss_button
table_with_settings_ui 💔 $0.01$ $+4.33$ e2e_teal.widgets_table_with_settings_check_pagination_appearance_for_.txt_and_disappearance_for_.csv_for_the_first_button
table_with_settings_ui 💔 $0.01$ $+4.26$ e2e_teal.widgets_table_with_settings_check_pagination_appearance_for_.txt_and_disappearance_for_.csv_for_the_modal_on_the_second_button
table_with_settings_ui 💔 $0.01$ $+3.82$ e2e_teal.widgets_table_with_settings_clicking_download_download_button_downloads_table_in_a_specified_format
table_with_settings_ui 💔 $0.01$ $+4.47$ e2e_teal.widgets_table_with_settings_clicking_download_in_an_expand_modal_opens_dropdown_menu_with_dwnl_settings_such_as_file_type_file_name_pagination
table_with_settings_ui 💔 $0.01$ $+4.35$ e2e_teal.widgets_table_with_settings_expanded_table_can_be_downloaded
table_with_settings_ui 💔 $0.00$ $+3.02$ e2e_teal.widgets_table_with_settings_is_initialized_with_2_buttons_and_a_table
table_with_settings_ui 💔 $0.01$ $+4.14$ e2e_teal.widgets_table_with_settings_the_click_on_expand_button_opens_a_modal_with_a_table
table_with_settings_ui 💔 $0.01$ $+3.96$ e2e_teal.widgets_table_with_settings_the_click_on_the_download_button_opens_a_download_menu_with_file_type_file_name_and_download_button
verbatim_popup_ui 💔 $0.00$ $+3.48$ e2e_teal.widgets_verbatim_popup_is_initialized_with_a_button_that_opens_a_modal_with_a_verbatim_text
verbatim_popup_ui 💔 $0.05$ $+3.46$ e2e_verbatim_popup_button_can_be_disabled_and_enabled

Results for commit 79cd7ba

♻️ This comment has been updated with latest results.

@llrs-roche llrs-roche self-assigned this Nov 20, 2025
@m7pr m7pr merged commit a1d1ec1 into main Nov 20, 2025
26 checks passed
@m7pr m7pr deleted the integration_tests branch November 20, 2025 11:13
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants