insightsengineering / teal

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

503 shinytest2 for session info link in bottom of the page #1145

Closed m7pr closed 5 months ago

m7pr commented 5 months ago

Part of https://github.com/insightsengineering/coredev-tasks/issues/503

m7pr commented 5 months ago

Hey @vedhav and @averissimo a small PR for a sessionInfo modal in teal app. I would need your help figuring out how to replace button:nth-child(2) part in selectors for Dismiss button with data selector.

github-actions[bot] commented 5 months ago

Unit Tests Summary

  1 files   25 suites   1m 27s :stopwatch: 225 tests 225 :white_check_mark: 0 :zzz: 0 :x: 474 runs  474 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 89f40ae5.

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

github-actions[bot] commented 5 months ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
shinytest2-init 💔 $6.68$ $+3.81$ $+12$ $0$ $0$ $0$
Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | shinytest2-init | 👶 | | $+3.84$ | e2e_teal_app_initializes_with_sessionInfo_modal |

Results for commit 4ce238836aa5dd21614b27e15e0d9c956e287b2e

♻️ This comment has been updated with latest results.

github-actions[bot] commented 5 months ago

badge

Code Coverage Summary

Filename                          Stmts    Miss  Cover    Missing
------------------------------  -------  ------  -------  -------------------------------------------------------------------------------------------------------------------------------
R/dummy_functions.R                  30       0  100.00%
R/get_rcode_utils.R                  31       1  96.77%   50
R/include_css_js.R                   22       0  100.00%
R/init.R                             86      25  70.93%   108-115, 161-162, 164, 179-185, 192-197, 228
R/landing_popup_module.R             25      25  0.00%    61-87
R/module_filter_manager.R           107      29  72.90%   50-58, 67-72, 195, 200-213
R/module_nested_tabs.R              154       3  98.05%   47, 128, 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       0  100.00%
R/module_teal_with_splash.R         114       2  98.25%   110, 131
R/module_teal.R                     106       1  99.06%   57
R/modules.R                         153      24  84.31%   127-130, 147-151, 206-210, 292-293, 345, 357-365
R/reporter_previewer_module.R        18       0  100.00%
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                   195      61  68.72%   66-77, 124-127, 135, 146-147, 155, 167-168, 190-196, 278-325, 369, 402
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                              11       7  36.36%   3-14
TOTAL                              1862     410  77.98%

Diff against main

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

Results for commit: 89f40ae532d43f017986dcc0ac1a949de6755ff2

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results