library(shinytest)
skip_on_covr()
app <- ShinyDriver$new(".")
test_that("contrast_ui works", {
output <- c("image_ui_1-image", "histogram_ui_1-histogram")
expectUpdate(app, "contrast_ui_1-contrast" = 1, output = output)
expectUpdate(app, "luminance_ui_1-luminance" = 1, output = output)
})
app$stop()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.