library(shinytest2)
test_that("Migrated shinytest test: mytest.R", {
skip_if_not_installed("ragg", "0.2")
skip_if_not_installed("systemfonts", "0.3") # systemfonts::register_font
app <- AppDriver$new(variant = shinytest2::platform_variant())
app$expect_values()
app$expect_screenshot()
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.