From d7bb22f88f82900c2c4a62ab113d92885b89f82b Mon Sep 17 00:00:00 2001 From: Ikemefuna Obioha Date: Tue, 31 Oct 2023 10:21:43 +0100 Subject: [PATCH] Minor E2E test fix --- e2e/features/account/AddAccount.feature | 2 +- e2e/steps/common.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/features/account/AddAccount.feature b/e2e/features/account/AddAccount.feature index 9148bd5bcd..8efbb7026e 100644 --- a/e2e/features/account/AddAccount.feature +++ b/e2e/features/account/AddAccount.feature @@ -16,7 +16,7 @@ Feature: AddAccount And I should see "Enter your secret recovery phrase to manage your account." And I should see "Secret recovery phrase (12-24 mnemonic phrases supported)" And custom derivation path input field should be "enabled" - And button with text 'Continue to set password' should be disabled + And button with text 'Continue' should be disabled Given I click on exact text "Go back" Then I should be redirected to route: "account/add" Given I click on a button with text "Secret recovery phrase" diff --git a/e2e/steps/common.mjs b/e2e/steps/common.mjs index 70ed4cd9f1..908bfa7ffb 100644 --- a/e2e/steps/common.mjs +++ b/e2e/steps/common.mjs @@ -19,7 +19,7 @@ const initAccountSetup = async function (passphrase, browserFixture) { }; const completeAccountSetup = async function (password, name, browserFixture) { - await browserFixture.page.getByText('Continue to set password', { exact: true }).click(); + await browserFixture.page.getByText('Continue', { exact: true }).click(); await browserFixture.page.getByTestId('password').fill(password); await browserFixture.page.getByTestId('cPassword').fill(password); await browserFixture.page.getByTestId('accountName').fill(name);