From e85303af28040afe8223bbdd7182c08cfc2d1ccd Mon Sep 17 00:00:00 2001 From: Brian Bergeron Date: Wed, 20 Mar 2024 14:41:15 -0700 Subject: [PATCH] fix: test for v11.12.4 release (#23619) Fix test for v11.12.4 release --- test/e2e/tests/send-eth.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/tests/send-eth.spec.js b/test/e2e/tests/send-eth.spec.js index 32b649bfd0d2..0476f37ab43d 100644 --- a/test/e2e/tests/send-eth.spec.js +++ b/test/e2e/tests/send-eth.spec.js @@ -421,10 +421,11 @@ describe('Send ETH', function () { async ({ driver }) => { await unlockWallet(driver); - await driver.assertElementNotPresent('.loading-overlay__spinner'); const balance = await driver.findElement( '[data-testid="eth-overview__primary-currency"]', ); + await driver.isElementPresent('.loading-overlay__spinner'); + await driver.waitForElementNotPresent('.loading-overlay__spinner'); assert.ok(/^[\d.]+\sETH$/u.test(await balance.getText())); await openActionMenuAndStartSendFlow(driver);