Skip to content

Commit

Permalink
Merge branch 'main' into popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Aug 8, 2023
2 parents 43f8b63 + ba3e637 commit 177a7c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ test_that("310-bslib-sidebar-dynamic: dynamically added sidebars are fully funct
wait_for_js("document.getElementById('layout_1') ? true : false")$
expect_values()

expect_screenshot_mac_release(app, selector = "#layout_1")
expect_sidebar_main_text(1, "cuddly giraffe")

# First sidebar starts open = "open"
expect_sidebar_shown(id = 1, "inner")
expect_sidebar_shown(id = 1, "outer")
expect_screenshot_mac_release(app, selector = "#layout_1")

# Update an input in the sidebar to test that the output is updated
app$set_inputs(adjective_1 = "elegant")
Expand Down
3 changes: 1 addition & 2 deletions inst/apps/314-bslib-tooltips/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ui <- page_navbar(
id = "navbar",
theme = bs_theme(
"tooltip-bg" = "#232529",
"enable-transitions" = interactive()
"enable-transitions" = FALSE
),

nav_panel(
Expand Down Expand Up @@ -131,4 +131,3 @@ server <- function(input, output, session) {
}

shinyApp(ui, server)

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 177a7c0

Please sign in to comment.