Skip to content

Commit

Permalink
fix #241
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Apr 24, 2024
1 parent 3176ff5 commit 7cf3b30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/plot_with_settings.R
Expand Up @@ -551,7 +551,7 @@ type_download_ui <- function(id) {
inline = TRUE,
right = TRUE,
label = "",
inputId = ns("downl"),
inputId = ns("dwnl"),
tags$div(
radioButtons(ns("file_format"),
label = "File type",
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-plot_with_settings_ui.R
Expand Up @@ -31,7 +31,7 @@ testthat::test_that("Plot with settings: UI screenshots", {
app$set_inputs(`plot_with_settings-downbutton-file_name` = "plot1")
app$set_inputs(`plot_with_settings-modal_downbutton-file_name` = "plot2")

app$click("plot_with_settings-downbutton-downl")
app$click("plot_with_settings-downbutton-dwnl")
app$expect_screenshot(
threshold = threshold, kernel_size = kernel_size, delay = delay, name = "download_menu"
)
Expand Down

0 comments on commit 7cf3b30

Please sign in to comment.