Skip to content

Commit 701c5fa

Browse files
committed
fix links
1 parent 4b39b80 commit 701c5fa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/testthat/test-shinytest2-tm_t_exposure.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ testthat::test_that(
8888
skip_if_too_deep(5)
8989
app_driver <- app_driver_tm_t_exposure()
9090
testthat::expect_equal(
91-
app_driver$get_text("#teal-teal_modules-active_tab .active > a"),
91+
app_driver$get_text("a.nav-link.active"),
9292
"Duration of Exposure Table"
9393
)
9494
testthat::expect_equal(

tests/testthat/test-shinytest2-tm_t_logistic.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ testthat::test_that(
7070
skip_if_too_deep(5)
7171
app_driver <- app_driver_tm_t_logistic()
7272
testthat::expect_equal(
73-
app_driver$get_text("#teal-teal_modules-active_tab .active > a"),
73+
app_driver$get_text("a.nav-link.active"),
7474
"Logistic Regression"
7575
)
7676
testthat::expect_equal(

tests/testthat/test-shinytest2-tm_t_mult_events.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ testthat::test_that(
5656
skip_if_too_deep(5)
5757
app_driver <- app_driver_tm_t_mult_events()
5858
testthat::expect_equal(
59-
app_driver$get_text("#teal-teal_modules-active_tab .active > a"),
59+
app_driver$get_text("a.nav-link.active"),
6060
"Concomitant Medications by Medication Class and Preferred Name"
6161
)
6262
testthat::expect_equal(

tests/testthat/test-shinytest2-tm_t_pp_basic_info.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ testthat::test_that("e2e - tm_t_pp_basic_info: Starts with specified label, pati
3838
skip_if_too_deep(5)
3939
app_driver <- app_driver_tm_t_pp_basic_info()
4040
testthat::expect_equal(
41-
app_driver$get_text("#teal-teal_modules-active_tab .active > a"),
41+
app_driver$get_text("a.nav-link.active"),
4242
"Basic Info"
4343
)
4444
testthat::expect_equal(

tests/testthat/test-shinytest2-tm_t_pp_laboratory.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ testthat::test_that(
6464
app_driver <- app_driver_tm_t_pp_laboratory()
6565

6666
testthat::expect_equal(
67-
app_driver$get_text("#teal-teal_modules-active_tab .active > a"),
67+
app_driver$get_text("a.nav-link.active"),
6868
"Vitals"
6969
)
7070
testthat::expect_equal(

0 commit comments

Comments
 (0)