Skip to content

Commit

Permalink
Update tests/testthat/test-verbatim_popup_ui.R
Browse files Browse the repository at this point in the history
Co-authored-by: Dawid Kałędkowski <[email protected]>
Signed-off-by: Marcin <[email protected]>
  • Loading branch information
m7pr and gogonzo authored Apr 25, 2024
1 parent 5f3922e commit ed9323d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test-verbatim_popup_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ testthat::test_that(
)

# Modal is closed, once the button is clicked.
app_driver$click(selector = "#shiny-modal-wrapper button[data-dismiss='modal']")
# There are two Dismiss buttons.
app_driver$click(selector = ".modal-body button[data-dismiss='modal']")
app_driver$wait_for_idle(timeout = default_idle_timeout)
testthat::expect_null(app_driver$get_html("#shiny-modal-wrapper"))

Expand Down

0 comments on commit ed9323d

Please sign in to comment.