Skip to content

Commit 07f237a

Browse files
authored
Fix spelling errors (#124)
- `"intial"` → `"initial"` - `"recommanded"` → `"recommended"` - `"pasword"` → `"password"`
1 parent 9dba069 commit 07f237a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/migrations-guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Logs detailed errors and halts the migration if potential data corruption is ide
2626

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

3131
3. **Return State**:
3232

docs/testing/e2e/extension-e2e-guidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ Here are some examples how to improve selectors following above guidelines:
7070
```javascript
7171
// current element locator:
7272
.qr-code__wrapper
73-
// recommanded element locator: replace CSS locator with a data-testid
73+
// recommended element locator: replace CSS locator with a data-testid
7474
'[data-testid="account-details-qr-code"]'
7575
7676
// current element locator:
7777
'//div[contains(@class, 'home-notification__text') and contains(text(), 'Backup your Secret Recovery Phrase to keep your wallet and funds secure')]'
78-
// recommanded element locator: replace XPATH with a query
78+
// recommended element locator: replace XPATH with a query
7979
'{ text: Backup your Secret Recovery Phrase to keep your wallet and funds secure, tag: div }'
8080
```
8181

examples/extension-e2e-page-object-model/login.flow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const loginWithBalanceValidation = async (
1616
password: string = WALLET_PASSWORD,
1717
expectedBalance: string = DEFAULT_GANACHE_ETH_BALANCE_DEC,
1818
) => {
19-
console.log('Navigate to unlock page and try to login with pasword');
19+
console.log('Navigate to unlock page and try to login with password');
2020
await driver.navigate();
2121
const loginPage = new LoginPage(driver);
2222
await loginPage.check_pageIsLoaded();
@@ -27,4 +27,4 @@ export const loginWithBalanceValidation = async (
2727
const homePage = new HomePage(driver);
2828
await homePage.check_pageIsLoaded();
2929
await homePage.check_expectedBalanceIsDisplayed(expectedBalance);
30-
};
30+
};

0 commit comments

Comments
 (0)