From 7d9d2b7b810484c6e88c6b32dec1333b8baed07c Mon Sep 17 00:00:00 2001 From: Carson Date: Mon, 11 Sep 2023 11:16:02 -0500 Subject: [PATCH] Just remove the return of focus to the last date range dropdown --- .../tests/testthat/test-313-bslib-card-tab-focus.R | 8 -------- 1 file changed, 8 deletions(-) diff --git a/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R b/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R index 17d4112a15..5065317bbd 100644 --- a/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R +++ b/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R @@ -267,14 +267,6 @@ test_that("fullscreen interior card with inputs (forward tab cycle)", { key_press("Tab") expect_focus(app, "#letter-selectized") - # Go back to date input to ensure popup is closed - # FIXME: We should fix this in {bslib} (tab handlers too aggressive) - key_press("Tab") - key_press("Escape") - key_press("Tab") - key_press("Tab") - key_press("Escape") - expect_focus(app, "#dates input:last-child") expect_card_full_screen(app, "card-with-inputs-left") app_card_full_screen_exit(app, "click overlay")