From 1e161854fb997daa338dbdb9fe59ec6b8c25496e Mon Sep 17 00:00:00 2001 From: Matt Seddon <37993418+mattseddon@users.noreply.github.com> Date: Fri, 28 Jul 2023 09:31:36 +1000 Subject: [PATCH] Increase timeouts of webview tests (#4368) --- extension/src/test/suite/plots/index.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extension/src/test/suite/plots/index.test.ts b/extension/src/test/suite/plots/index.test.ts index 4ca7a1490f..8110d18112 100644 --- a/extension/src/test/suite/plots/index.test.ts +++ b/extension/src/test/suite/plots/index.test.ts @@ -519,7 +519,7 @@ suite('Plots Test Suite', () => { undefined, undefined ) - }) + }).timeout(WEBVIEW_TEST_TIMEOUT) it('should handle an export plot data as csv message from the webview', async () => { const { plots } = await buildPlots({ @@ -564,7 +564,7 @@ suite('Plots Test Suite', () => { undefined, undefined ) - }) + }).timeout(WEBVIEW_TEST_TIMEOUT) it('should handle an export plot data as tsv message from the webview', async () => { const { plots } = await buildPlots({ @@ -609,7 +609,7 @@ suite('Plots Test Suite', () => { undefined, undefined ) - }) + }).timeout(WEBVIEW_TEST_TIMEOUT) it('should handle export data messages from the webview when the file is cancelled or errors are thrown during file writing', async () => { const { plots } = await buildPlots({ @@ -663,7 +663,7 @@ suite('Plots Test Suite', () => { expect(mockOpenFile).not.to.be.called expect(mockShowInformationMessage).to.be.called - }) + }).timeout(WEBVIEW_TEST_TIMEOUT) it('should handle a custom plots reordered message from the webview', async () => { const { plots, plotsModel, messageSpy } = await buildPlots({