From 7fe88112c76fb6a731e220cacdf9db250a76417b Mon Sep 17 00:00:00 2001 From: Kacper Roemer Date: Fri, 13 Oct 2023 09:13:06 +0100 Subject: [PATCH] use skipHover to fix another test #1541 --- .../downloadStatus/adminDownloadStatusTable.component.test.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/datagateway-download/src/downloadStatus/adminDownloadStatusTable.component.test.tsx b/packages/datagateway-download/src/downloadStatus/adminDownloadStatusTable.component.test.tsx index 304bf623a..68c297fdf 100644 --- a/packages/datagateway-download/src/downloadStatus/adminDownloadStatusTable.component.test.tsx +++ b/packages/datagateway-download/src/downloadStatus/adminDownloadStatusTable.component.test.tsx @@ -231,6 +231,9 @@ describe('Admin Download Status Table', () => { describe('text filters', () => { it('should filter username properly', async () => { + // use skipHover to avoid triggering sort tooltips which slow the test down + user = userEvent.setup({ delay: null, skipHover: true }); + renderComponent(); await flushPromises();