From 4fb2386dd7f324f5b6fd256a1cfb71d0f1334062 Mon Sep 17 00:00:00 2001 From: William Wong Date: Sat, 6 Apr 2024 14:28:10 +0000 Subject: [PATCH] Fix flakiness --- __tests__/html/timestamp.attachmentSendTimeout.html | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests__/html/timestamp.attachmentSendTimeout.html b/__tests__/html/timestamp.attachmentSendTimeout.html index af83323ebb..4440747379 100644 --- a/__tests__/html/timestamp.attachmentSendTimeout.html +++ b/__tests__/html/timestamp.attachmentSendTimeout.html @@ -65,6 +65,7 @@ // WHEN: Sending out the file. await pageObjects.runHook(({ useSendFiles }) => useSendFiles()([fileBlob])); + await pageConditions.numActivitiesShown(2); // THEN: It should show "Sending". // Note the first activity is reserved for "run hook", we are checking activity status from the second activity.