Skip to content

Commit

Permalink
Fix spelling errors (#124)
Browse files Browse the repository at this point in the history
- `"intial"` → `"initial"`  
 - `"recommanded"` → `"recommended"`
 - `"pasword"` → `"password"`
  • Loading branch information
Pricstas authored Feb 3, 2025
1 parent 9dba069 commit 07f237a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/migrations-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Logs detailed errors and halts the migration if potential data corruption is ide

- Log errors with `captureException` from Sentry, which is crucial for diagnosing issues post-migration,
- Ensure that error messages are descriptive: include the migration number and a clear description of the issue,
- If an exception is detected, indicating potential data corruption, halt the migration process and return the intial state,
- If an exception is detected, indicating potential data corruption, halt the migration process and return the initial state,

3. **Return State**:

Expand Down
4 changes: 2 additions & 2 deletions docs/testing/e2e/extension-e2e-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ Here are some examples how to improve selectors following above guidelines:
```javascript
// current element locator:
.qr-code__wrapper
// recommanded element locator: replace CSS locator with a data-testid
// recommended element locator: replace CSS locator with a data-testid
'[data-testid="account-details-qr-code"]'
// current element locator:
'//div[contains(@class, 'home-notification__text') and contains(text(), 'Backup your Secret Recovery Phrase to keep your wallet and funds secure')]'
// recommanded element locator: replace XPATH with a query
// recommended element locator: replace XPATH with a query
'{ text: Backup your Secret Recovery Phrase to keep your wallet and funds secure, tag: div }'
```

Expand Down
4 changes: 2 additions & 2 deletions examples/extension-e2e-page-object-model/login.flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const loginWithBalanceValidation = async (
password: string = WALLET_PASSWORD,
expectedBalance: string = DEFAULT_GANACHE_ETH_BALANCE_DEC,
) => {
console.log('Navigate to unlock page and try to login with pasword');
console.log('Navigate to unlock page and try to login with password');
await driver.navigate();
const loginPage = new LoginPage(driver);
await loginPage.check_pageIsLoaded();
Expand All @@ -27,4 +27,4 @@ export const loginWithBalanceValidation = async (
const homePage = new HomePage(driver);
await homePage.check_pageIsLoaded();
await homePage.check_expectedBalanceIsDisplayed(expectedBalance);
};
};

0 comments on commit 07f237a

Please sign in to comment.