Skip to content

Commit

Permalink
chore: Be very certain we're waiting for a boolean value
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Oct 24, 2023
1 parent 73bec5d commit c26de91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ expect_popover_content <- function(app, body = NULL, header = NULL) {

if (!is.null(header)) {
header_actual <- app$
wait_for_js("document.querySelector('.popover-header')")$
wait_for_js("document.querySelector('.popover-header') !== null")$
get_text(".popover-header")

expect_equal(trimws(header_actual), header)
Expand Down

0 comments on commit c26de91

Please sign in to comment.