context("steps") test_that("test steps", { # type expect_is(single_step("step_1", "Step 1"), "shiny.tag") expect_is( steps( "steps", list( single_step("step_1", "Step 1"), single_step("step_1", "Step 1")) ), "shiny.tag" ) # empty input expect_error(single_step()) expect_error(steps()) # Single step single_step_str <- as.character(single_step("step_1", "Step 1")) expect_true(grepl("