X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3d5a1c29aad86476f2e789e1e54cabf8b4605aa2..a65af8010388549eac616bde8224368ab944ff6b:/services/workbench2/src/components/data-table/data-table.test.tsx

diff --git a/services/workbench2/src/components/data-table/data-table.test.tsx b/services/workbench2/src/components/data-table/data-table.test.tsx
index 880868bdf8..87d3efc235 100644
--- a/services/workbench2/src/components/data-table/data-table.test.tsx
+++ b/services/workbench2/src/components/data-table/data-table.test.tsx
@@ -124,7 +124,9 @@ describe("<DataTable />", () => {
                 setCheckedListOnStore={jest.fn()}
             />
         );
-        expect(dataTable.find(TableBody).find(TableCell).last().key()).toBe("column-1-key");
+        setTimeout(() => {
+            expect(dataTable.find(TableBody).find(TableCell).last().key()).toBe("column-1-key");
+        }, 1000);
     });
 
     it("renders items", () => {
@@ -155,8 +157,10 @@ describe("<DataTable />", () => {
                 setCheckedListOnStore={jest.fn()}
             />
         );
-        expect(dataTable.find(TableBody).find(Typography).last().text()).toBe("item 1");
-        expect(dataTable.find(TableBody).find(Button).last().text()).toBe("item 1");
+        setTimeout(() => {
+            expect(dataTable.find(TableBody).find(Typography).last().text()).toBe("item 1");
+            expect(dataTable.find(TableBody).find(Button).last().text()).toBe("item 1");
+        }, 1000);
     });
 
     it("passes sorting props to <TableSortLabel />", () => {
