From 20f95416e664e78247be4a860527c502f1ac98c0 Mon Sep 17 00:00:00 2001 From: Chloe Gao Date: Mon, 18 Sep 2023 18:16:48 +0200 Subject: [PATCH] stabilize test --- test/e2e/tests/multiple-transactions.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/tests/multiple-transactions.spec.js b/test/e2e/tests/multiple-transactions.spec.js index b213f3dcacfb..a4c9a505b91e 100644 --- a/test/e2e/tests/multiple-transactions.spec.js +++ b/test/e2e/tests/multiple-transactions.spec.js @@ -70,6 +70,9 @@ describe('Multiple transactions', function () { await driver.switchToWindow(extensionTab); await driver.delay(regularDelayMs); await driver.clickElement('[data-testid="home__activity-tab"]'); + await driver.waitForSelector( + '.transaction-list__completed-transactions .activity-list-item:nth-of-type(2)', + ); const confirmedTxes = await driver.findElements( '.transaction-list__completed-transactions .activity-list-item',