test_that("update can assemble messages", { update_inline("select", fake_session, value = 42, placeholder = "Enter text", meaning = NULL, label = "Label", icon = shiny::icon("gears"), accent = "primary", min = "0", max = as.Date("2025-01-01"), step = NULL, default = 50, on = NULL, off = "Off", datesdisabled = as.Date("2025-01-01"), daysofweekdisabled = c(0, 6), choices = letters, selected = "a") expect_snapshot(x) }) test_that("update handles selects", { # Choices but no selected update_inline("select", fake_session, choices = "a") expect_equal(x, list(id = "select", choices = shiny::HTML( '