Skip to content

Commit 1dff9d4

Browse files
authored
remove testthat prefix from badge dropdown test (#81)
Fix #80 Remove testthat prefix so it can use the package version of expect_visible.
1 parent d654b02 commit 1dff9d4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/testthat/test-badge_dropdown.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ testthat::describe("shinytest2 badge_dropdown:", {
2323
on.exit(app_driver$stop())
2424

2525
app_driver$click(selector = "#test-inputs-summary_badge")
26-
testthat::expect_visible("#test-inputs-inputs_container", app_driver = app_driver)
26+
expect_visible("#test-inputs-inputs_container", app_driver = app_driver)
2727
app_driver$click(selector = "#test-inputs-summary_badge")
28-
testthat::expect_hidden("#test-inputs-inputs_container", app_driver = app_driver)
28+
expect_hidden("#test-inputs-inputs_container", app_driver = app_driver)
2929

3030
app_driver$click(selector = "#test-inputs-summary_badge")
31-
testthat::expect_visible("#test-inputs-inputs_container", app_driver = app_driver)
31+
expect_visible("#test-inputs-inputs_container", app_driver = app_driver)
3232
app_driver$click(selector = "#random")
33-
testthat::expect_hidden("#test-inputs-inputs_container", app_driver = app_driver)
33+
expect_hidden("#test-inputs-inputs_container", app_driver = app_driver)
3434
})
3535
})

0 commit comments

Comments
 (0)