Skip to content

Commit 42cf3b0

Browse files
authored
test: Fix failing test (#8172)
1 parent bedda9c commit 42cf3b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

panel/tests/ui/widgets/test_tabulator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,18 +803,21 @@ def test_tabulator_editors_nested(page, opt0, opt1):
803803

804804
# Change the 0th column
805805
cells.nth(0).click()
806+
page.wait_for_timeout(200)
806807
item = page.locator('.tabulator-edit-list-item', has_text=opt0)
807808
expect(item).to_have_count(1)
808809
item.click(force=True)
809810

810811
# Change the 1th column
811812
cells.nth(1).click()
813+
page.wait_for_timeout(200)
812814
item = page.locator('.tabulator-edit-list-item', has_text=opt1)
813815
expect(item).to_have_count(1)
814816
item.click(force=True)
815817

816818
# Check the last column matches
817819
cells.nth(2).click()
820+
page.wait_for_timeout(200)
818821
items = page.locator('.tabulator-edit-list-item')
819822
expect(items).to_have_count(5)
820823

0 commit comments

Comments
 (0)