Skip to content

Commit

Permalink
Minor E2E test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ikem-legend committed Oct 31, 2023
1 parent 2b97e24 commit d7bb22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/features/account/AddAccount.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion e2e/steps/common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d7bb22f

Please sign in to comment.