We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29c1752 commit b231425Copy full SHA for b231425
e2e/data_frame/test_data_frame.py
@@ -130,9 +130,19 @@ def test_sort(
130
select_dataset.set("diamonds")
131
select_dataset.expect.to_have_value("diamonds")
132
133
- # Test sorting
+ # Table cell locators
134
header_clarity = grid_container.locator("tr:first-child th:nth-child(4)")
135
first_cell_clarity = grid_container.locator("tr:first-child td:nth-child(4)")
136
+
137
+ # Test that the table contents have updated
138
+ # This may timeout unless a larger timeout is given
139
+ expect(header_clarity).not_to_have_text(
140
+ "num2",
141
+ timeout=15 * 1000, # Larger timeout for CI
142
+ )
143
+ expect(first_cell_clarity).not_to_have_text("4")
144
145
+ # Test sorting
146
expect(first_cell_clarity).to_have_text("SI2")
147
header_clarity.click()
148
expect(first_cell_clarity).to_have_text("I1")
0 commit comments