From 2f9f2c91df24209c88ac21a3eea9ca1ecef78570 Mon Sep 17 00:00:00 2001 From: januszjanus Date: Mon, 13 May 2024 16:48:54 +0200 Subject: [PATCH] test(extension): cleanup --- packages/e2e-tests/src/assert/assetInputAssert.ts | 2 +- .../src/assert/transaction/transactionSummaryAssert.ts | 1 - .../e2e-tests/src/elements/onboarding/recoveryPhrasePage.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/e2e-tests/src/assert/assetInputAssert.ts b/packages/e2e-tests/src/assert/assetInputAssert.ts index 7f15fa07c..24afabe57 100644 --- a/packages/e2e-tests/src/assert/assetInputAssert.ts +++ b/packages/e2e-tests/src/assert/assetInputAssert.ts @@ -6,7 +6,7 @@ class AssetInputAssert { async assertSeeAssetInput(index = 1) { const assetInput = new AssetInput(index); await assetInput.container.waitForDisplayed(); - await assetInput.assetAddButton.waitForStable(); + await assetInput.assetAddButton.waitForDisplayed(); expect(await assetInput.assetAddButton.getText()).to.equal(await t('browserView.transaction.send.advanced.asset')); } } diff --git a/packages/e2e-tests/src/assert/transaction/transactionSummaryAssert.ts b/packages/e2e-tests/src/assert/transaction/transactionSummaryAssert.ts index 12d4f6535..c435c644f 100644 --- a/packages/e2e-tests/src/assert/transaction/transactionSummaryAssert.ts +++ b/packages/e2e-tests/src/assert/transaction/transactionSummaryAssert.ts @@ -81,7 +81,6 @@ class TransactionSummaryAssert { expect(await TransactionSummaryPage.sendingTitle(bundleIndex + 1).getText()).to.equal( await t('core.outputSummaryList.sending') ); - await TransactionSummaryPage.recipientAddressLabel(bundleIndex + 1).scrollIntoView(); await TransactionSummaryPage.recipientAddressLabel(bundleIndex + 1).waitForDisplayed(); expect(await TransactionSummaryPage.recipientAddressLabel(bundleIndex + 1).getText()).to.equal( await t('core.outputSummaryList.recipientAddress') diff --git a/packages/e2e-tests/src/elements/onboarding/recoveryPhrasePage.ts b/packages/e2e-tests/src/elements/onboarding/recoveryPhrasePage.ts index 4061124c9..3376d284a 100644 --- a/packages/e2e-tests/src/elements/onboarding/recoveryPhrasePage.ts +++ b/packages/e2e-tests/src/elements/onboarding/recoveryPhrasePage.ts @@ -65,7 +65,6 @@ class RecoveryPhrasePage extends CommonOnboardingElements { } async selectMnemonicLength(length: RecoveryPhrase): Promise { - await this.mnemonicLengthSelector12.waitForClickable(); switch (length) { case '12': await this.mnemonicLengthSelector12.click();