context("button") test_that("test button", { # type expect_is(button("simple_button", "Button!"), "shiny.tag") # empty input expect_error(button()) # text input si_str <- as.character(button("simple_button", "Button!")) expect_true(any(grepl("