X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/28b6afc1e8ccf652c7a8fd43e22a8ac788febd85..603c6b707287af641305f7e0389b934923d70a74:/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 />", () => {
