Skip to content

Commit 8400bb6

Browse files
committed
Add test for filter disabling
1 parent 89ac607 commit 8400bb6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

e2e/data_frame/test_data_frame.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,3 +321,11 @@ def _filter_test_impl(
321321
select_dataset.set("anagrams")
322322
select_dataset.expect.to_have_value("anagrams")
323323
expect(summary).to_have_text(re.compile(" of 20"))
324+
325+
326+
def test_filter_disable(page: Page, data_frame_app: ShinyAppProc):
327+
page.goto(data_frame_app.url)
328+
329+
expect(page.locator("tr.filters")).to_be_attached()
330+
InputSwitch(page, "filters").toggle()
331+
expect(page.locator("tr.filters")).not_to_be_attached()

0 commit comments

Comments
 (0)