insightsengineering / teal

Exploratory Web Apps for Analyzing Clinical Trial Data
https://insightsengineering.github.io/teal/
Other
181 stars 39 forks source link

Migrate to new API calls on `TealAppDriver` #1174

Closed averissimo closed 7 months ago

averissimo commented 7 months ago

Pull Request

Fixes #1173

Changes description:

Follow-up

github-actions[bot] commented 7 months ago

badge

Code Coverage Summary

Filename                          Stmts    Miss  Cover    Missing
------------------------------  -------  ------  -------  -------------------------------------------------------------------------------------------------------------------------------
R/dummy_functions.R                  30      21  30.00%   21-33, 36-43
R/get_rcode_utils.R                  31       1  96.77%   50
R/include_css_js.R                   22       0  100.00%
R/init.R                             86      31  63.95%   108-115, 161-162, 164, 176-197, 227-228, 230
R/landing_popup_module.R             25      25  0.00%    61-87
R/module_filter_manager.R           107      36  66.36%   37-43, 50-58, 67-72, 195, 200-213
R/module_nested_tabs.R              154      58  62.34%   39-112, 128, 180, 202, 228
R/module_snapshot_manager.R         209     157  24.88%   87-99, 127-136, 140-152, 154-161, 168-182, 186-188, 190-195, 198-208, 211-227, 236-251, 265-288, 291-302, 305-311, 325, 343-366
R/module_tabs_with_filters.R         76      33  56.58%   33-68, 100, 116
R/module_teal_with_splash.R         114       4  96.49%   110, 131, 197-198
R/module_teal.R                     106      29  72.64%   57, 68, 77, 150-151, 157, 176-207
R/modules.R                         152      26  82.89%   127-130, 147-151, 206-209, 291-292, 344, 356-364, 418-421
R/reporter_previewer_module.R        18       2  88.89%   30, 34
R/show_rcode_modal.R                 19      19  0.00%    17-36
R/tdata.R                            53       1  98.11%   154
R/teal_data_module-eval_code.R       27       0  100.00%
R/teal_data_module-within.R           7       0  100.00%
R/teal_data_module.R                  6       0  100.00%
R/teal_reporter.R                    62       5  91.94%   69, 118-119, 122, 139
R/teal_slices-store.R                29       0  100.00%
R/teal_slices.R                      59      12  79.66%   137-150
R/TealAppDriver.R                   234     234  0.00%    29-481
R/utils.R                           173       1  99.42%   255
R/validate_inputs.R                  32       0  100.00%
R/validations.R                      58      37  36.21%   110-377
R/zzz.R                              12       8  33.33%   3-15
TOTAL                              1901     740  61.07%

Diff against main

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

Results for commit: e0657de0a8553a363b94d2a4a8650214f501c487

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 7 months ago

Unit Tests Summary

  1 files   28 suites   2m 4s :stopwatch: 234 tests 234 :white_check_mark: 0 :zzz: 0 :x: 497 runs  497 :white_check_mark: 0 :zzz: 0 :x:

Results for commit e0657de0.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 7 months ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
shinytest2-filter_panel 💔 $0.06$ $+19.45$ $+2$ $-3$ $0$ $0$
shinytest2-init 💔 $0.04$ $+10.55$ $+14$ $-3$ $0$ $0$
shinytest2-landing_popup 💔 $0.06$ $+18.58$ $+6$ $-5$ $0$ $0$
shinytest2-modules 💔 $0.06$ $+17.09$ $+1$ $-5$ $0$ $0$
shinytest2-reporter 💔 $0.04$ $+14.77$ $+1$ $-3$ $0$ $0$
shinytest2-show-rcode 💔 $0.01$ $+3.87$ $+8$ $-1$ $0$ $0$
shinytest2-teal_data_module 💔 $0.04$ $+10.42$ $+1$ $-3$ $0$ $0$
shinytest2-teal_slices 💔 $0.03$ $+14.46$ $+16$ $-2$ $0$ $0$
shinytest2-utils 💔 $0.01$ $+3.41$ $+3$ $-1$ $0$ $0$
Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | shinytest2-filter_panel | 💔 | $0.03$ | $+6.98$ | e2e_filtering_a_module_specific_filter_is_not_refected_in_other_unshared_modules | | shinytest2-filter_panel | 💔 | $0.02$ | $+7.03$ | e2e_filtering_a_module_specific_filter_is_refected_in_other_shared_module | | shinytest2-filter_panel | 💔 | $0.01$ | $+5.44$ | e2e_module_content_is_updated_when_a_data_is_filtered_in_filter_panel | | shinytest2-init | 💔 | $0.01$ | $+3.37$ | e2e_init_creates_UI_containing_specified_title_favicon_header_and_footer | | shinytest2-init | 💔 | $0.01$ | $+3.29$ | e2e_teal_app_initializes_with_no_errors | | shinytest2-init | 💔 | $0.01$ | $+3.89$ | e2e_teal_app_initializes_with_sessionInfo_modal | | shinytest2-landing_popup | 💔 | $0.01$ | $+3.57$ | e2e_app_with_customized_landing_popup_module_creates_modal_containing_specified_title_content_and_buttons | | shinytest2-landing_popup | 💔 | $0.01$ | $+3.69$ | e2e_app_with_default_landing_popup_module_creates_modal_containing_a_button | | shinytest2-landing_popup | 💔 | $0.01$ | $+3.64$ | e2e_teal_app_with_landing_popup_module_initializes_with_no_errors | | shinytest2-landing_popup | 💔 | $0.01$ | $+3.64$ | e2e_when_customized_button_in_landing_popup_module_is_clicked_it_redirects_to_a_certain_page | | shinytest2-landing_popup | 💔 | $0.01$ | $+4.03$ | e2e_when_default_landing_popup_module_is_closed_it_shows_the_underlying_teal_app | | shinytest2-modules | 💔 | $0.02$ | $+3.10$ | e2e_all_the_nested_teal_modules_are_initiated_as_expected | | shinytest2-modules | 💔 | $0.01$ | $+3.21$ | e2e_filter_panel_is_not_displayed_when_datanames_is_NULL | | shinytest2-modules | 💔 | $0.01$ | $+3.26$ | e2e_filter_panel_only_shows_the_data_supplied_using_datanames | | shinytest2-modules | 💔 | $0.01$ | $+3.29$ | e2e_filter_panel_shows_all_the_datasets_when_datanames_is_all | | shinytest2-modules | 💔 | $0.01$ | $+4.24$ | e2e_the_module_server_logic_is_only_triggered_when_the_teal_module_becomes_active | | shinytest2-reporter | 💔 | $0.01$ | $+9.06$ | e2e_adding_a_report_card_in_a_module_adds_it_in_the_report_previewer_tab | | shinytest2-reporter | 💔 | $0.01$ | $+2.83$ | e2e_reporter_tab_is_created_when_a_module_has_reporter | | shinytest2-reporter | 💔 | $0.01$ | $+2.88$ | e2e_reporter_tab_is_not_created_when_a_module_has_no_reporter | | shinytest2-show-rcode | 💔 | $0.01$ | $+3.87$ | e2e_teal_app_initializes_with_Show_R_Code_modal | | shinytest2-teal_data_module | 💔 | $0.01$ | $+4.43$ | e2e_teal_data_module_inputs_change_teal_data_object_that_is_passed_to_teal_main_UI | | shinytest2-teal_data_module | 💔 | $0.02$ | $+2.51$ | e2e_teal_data_module_shows_validation_errors | | shinytest2-teal_data_module | 💔 | $0.01$ | $+3.49$ | e2e_teal_data_module_will_have_a_delayed_load_of_datasets | | shinytest2-teal_slices | 💔 | $0.01$ | $+6.31$ | e2e_teal_slices_filters_are_initialized_when_global_filters_are_created | | shinytest2-teal_slices | 💔 | $0.01$ | $+8.15$ | e2e_teal_slices_filters_are_initialized_when_module_specific_filters_are_created | | shinytest2-utils | 💔 | $0.01$ | $+3.41$ | e2e_show_hide_hamburger_works_as_expected |

Results for commit a795e1d3a5c10cc3923c52225db6405eab0ae6b9

♻️ This comment has been updated with latest results.