From 4f07bdec0d645044fe13fc268e232f35d73d755b Mon Sep 17 00:00:00 2001 From: Andrew Goldis Date: Mon, 18 Sep 2023 23:11:39 -0700 Subject: [PATCH] fix: videoUploadOnPasses [skip ci] --- packages/cypress-cloud/lib/results/api.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/cypress-cloud/lib/results/api.ts b/packages/cypress-cloud/lib/results/api.ts index d66ed4d..aaafa23 100644 --- a/packages/cypress-cloud/lib/results/api.ts +++ b/packages/cypress-cloud/lib/results/api.ts @@ -33,8 +33,7 @@ export const getInstanceTestsPayload = ( // @ts-ignore config: { ...config.getConfig(), - // @ts-ignore - videoUploadOnPasses: config?.videoUploadOnPasses ?? false, + videoUploadOnPasses: config.getConfig()?.videoUploadOnPasses ?? false, }, tests: (runResult.tests ?? []).map( StandardResultsToAPIResults.getTestForSetTests