-
-
Notifications
You must be signed in to change notification settings - Fork 19
bring back tests #1441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
bring back tests #1441
Conversation
Unit Tests Summary 1 files 71 suites 1h 51m 46s ⏱️ For more details on these failures, see this check. Results for commit 01af5a0. ♻️ This comment has been updated with latest results. |
Unit Test Performance DifferenceTest suite performance difference
Additional test case details
Results for commit f8fe8df ♻️ This comment has been updated with latest results. |
# Pull Request Part of #1440 Companion of #1441 --------- Co-authored-by: Marcin <[email protected]>
# Pull Request <!--- Replace `#nnn` with your issue link for reference. --> Part of #1440 This was after a discussion to use the shorter selector for the UI of the modules Test the two modules affected with `devtools::test(filter = "tm_t_summary")`. Short selectors used operators as found on https://www.w3schools.com/cssref/css_selectors.php
# Pull Request Part of #1440 Companion #1441 While reviewing [this PR](#1444) I found that one e2e test on the edited files was failing. The fix was simple, I was working on a similar fix for `g_pp` modules. Please test it with `devtools::test(filter = "tm_t_shift_by")` --------- Signed-off-by: Oriol Senan <[email protected]> Co-authored-by: osenan <[email protected]> Co-authored-by: Lluís Revilla <[email protected]>
|
✅ All contributors have signed the CLA |
# Fix e2e tests Fixes #1440 Companion #1441 To verify the result of tests, you should do the following: 1. Install [this branch](insightsengineering/teal#1653) of teal 2. Install teal modules clinical on this version 3. ``` devtools::load_all() library(shinytest2) source("tests/testthat/helper-TealAppDriver.R") source("tests/testthat/helper-testing-depth.R") testthat::test_file("tests/testthat/test-shinytest2-tm_g_pp_patient_timeline.R") testthat::test_file("tests/testthat/test-shinytest2-tm_g_pp_vitals.R") testthat::test_file("tests/testthat/test-shinytest2-tm_g_pp_therapy.R") testthat::test_file("tests/testthat/test-shinytest2-tm_g_pp_adverse_events.R") ``` --------- Co-authored-by: osenan <[email protected]> Co-authored-by: Lluís Revilla <[email protected]> Co-authored-by: Marcin <[email protected]>
|
I have read the CLA Document and I hereby sign the CLA |
# Pull Request Fixes #1440 Companion #1441 This PR contains the remaining failing e2e test of the package. I am based on the issue #1440. According to the issue 4 tests from 4 different test files are failing. I ran the test and found that actually only two of them are failing. Here the screenshot of the other two files that all test are passing: <img width="698" height="216" alt="image" src="https://github.com/user-attachments/assets/2129630b-ad17-49f0-949e-df6f5bb24ab3" /> Please test locally the fixed tests with the following instructions: ``` devtools::load_all() library(shinytest2) source("tests/testthat/helper-TealAppDriver.R") source("tests/testthat/helper-testing-depth.R") testthat::test_file("tests/testthat/test-shinytest2-tm_g_barchart_simple.R) testthat::test_file("tests/testthat/test-shinytest2-tm_t_binary_outcome.R") ``` --------- Signed-off-by: Oriol Senan <[email protected]> Co-authored-by: osenan <[email protected]> Co-authored-by: Marcin <[email protected]>
Signed-off-by: Marcin <[email protected]>
Signed-off-by: Marcin <[email protected]>
Signed-off-by: Marcin <[email protected]>
# Pull Request Part of #1440 There was an update on the selector. Please run manually with: ``` devtools::load_all() library(shinytest2) source("tests/testthat/helper-TealAppDriver.R") source("tests/testthat/helper-testing-depth.R") testthat::test_file("tests/testthat/test-shinytest2-tm_t_events_by_grade") ``` Co-authored-by: osenan <[email protected]>
|
There is one module not passing the tests. The error seems with the app_driver function and not with the modules. On the other hand if I run the app with the |
Signed-off-by: André Veríssimo <[email protected]>



Removed 391 occurrences across 36 test files. The tests should now run without those chromium skips.
Fixes
Companion to