Skip to content

Commit

Permalink
Fix settings everywhere (#1556)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimtaveras00 authored May 11, 2020
1 parent 610952c commit b7a8ff7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/components/UI/Navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export function getSendFlowTitle(title, navigation) {
headerTitle: <NavbarTitle title={title} disableNetwork />,
headerRight: (
// eslint-disable-next-line react/jsx-no-bind
<TouchableOpacity onPress={rightAction} style={styles.closeButton}>
<TouchableOpacity onPress={rightAction} style={styles.closeButton} testID={'send-cancel-button'}>
<Text style={styles.closeButtonText}>{strings('transaction.cancel')}</Text>
</TouchableOpacity>
),
Expand Down
4 changes: 2 additions & 2 deletions e2e/add-custom-rpc.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('Custom RPC Tests', () => {
// Check that the drawer is visbile
await TestHelpers.checkIfVisible('drawer-screen');
// Tap on settings
await TestHelpers.tap('settings-button');
await TestHelpers.tapByText('Settings');
// Tap on the "Networks" option
await TestHelpers.tapByText('Networks');
// Check that we are on the networks screen
Expand Down Expand Up @@ -120,7 +120,7 @@ describe('Custom RPC Tests', () => {
// Check that the drawer is visbile
await TestHelpers.checkIfVisible('drawer-screen');
// Tap on settings
await TestHelpers.tap('settings-button');
await TestHelpers.tapByText('Settings');
// Tap on the "Networks" option
await TestHelpers.tapByText('Networks');
// Check that we are on the networks screen
Expand Down
2 changes: 1 addition & 1 deletion e2e/addressbook-tests.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('Addressbook Tests', () => {
// Check that the drawer is visbile
await TestHelpers.checkIfVisible('drawer-screen');
// Tap on settings
await TestHelpers.tap('settings-button');
await TestHelpers.tapByText('Settings');
// Tap on the "Contacts" option
await TestHelpers.tapByText('Contacts');
// Check that we are on the contacts screen
Expand Down
2 changes: 1 addition & 1 deletion e2e/import-seed-phrase.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Import seedphrase flow', () => {
// Check that the drawer is visbile
await TestHelpers.checkIfVisible('drawer-screen');
// Tap on settings
await TestHelpers.tap('settings-button');
await TestHelpers.tapByText('Settings');
// Tap on the "Security & Privacy" option
await TestHelpers.tapByText('Security & Privacy');

Expand Down

0 comments on commit b7a8ff7

Please sign in to comment.