From f7ff5745e3ba428abcf0d80718d7493effe29a49 Mon Sep 17 00:00:00 2001 From: Andrew Goldis Date: Wed, 13 Sep 2023 00:02:16 -0700 Subject: [PATCH] fix: support coverage reports --- packages/cypress-cloud/lib/artifacts.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cypress-cloud/lib/artifacts.ts b/packages/cypress-cloud/lib/artifacts.ts index 748d4a31..ed6accc5 100644 --- a/packages/cypress-cloud/lib/artifacts.ts +++ b/packages/cypress-cloud/lib/artifacts.ts @@ -32,7 +32,8 @@ export async function uploadArtifacts({ coverageUploadUrl, }); - const totalUploads = (videoPath ? 1 : 0) + screenshots.length; + const totalUploads = + (videoPath ? 1 : 0) + screenshots.length + (coverageFilePath ? 1 : 0); if (totalUploads === 0) { // info("Nothing to upload"); return;