Skip to content

Commit 056f18f

Browse files
chore: updating developer options tests
1 parent e595110 commit 056f18f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/e2e/page-objects/pages/developer-options-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DevelopOptions {
1313
'[data-testid="developer-options-generate-page-crash-button"]';
1414

1515
private readonly developOptionsPageTitle: object = {
16-
text: 'Developer Options',
16+
text: 'Developer options',
1717
css: 'h4',
1818
};
1919

test/e2e/page-objects/pages/settings/settings-page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SettingsPage {
1717
};
1818

1919
private readonly developerOptionsButton = {
20-
text: 'Developer Options',
20+
text: 'Developer options',
2121
css: '.tab-bar__tab__content__title',
2222
};
2323

@@ -130,7 +130,7 @@ class SettingsPage {
130130
}
131131

132132
async goToDeveloperOptions(): Promise<void> {
133-
console.log('Navigating to Developer Options page');
133+
console.log('Navigating to Developer options page');
134134
await this.driver.clickElement(this.developerOptionsButton);
135135
}
136136

ui/helpers/utils/settings-search.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const t = (key) => {
9595
case 'localhost':
9696
return 'Localhost 8545';
9797
case 'developerOptions':
98-
return 'Developer Options';
98+
return 'Developer options';
9999
case 'experimental':
100100
return 'Experimental';
101101
case 'autoDetectTokens':
@@ -196,7 +196,7 @@ describe('Settings Search Utils', () => {
196196
);
197197
});
198198

199-
it('returns 0 "Developer Options" section count when env flag is disabled', () => {
199+
it('returns 0 "Developer options" section count when env flag is disabled', () => {
200200
expect(
201201
getNumberOfSettingRoutesInTab(t, t('developerOptions')),
202202
).toStrictEqual(0);

0 commit comments

Comments
 (0)