diff --git a/e2e/pages/Drawer/Settings/Contacts/AddContactView.js b/e2e/pages/Drawer/Settings/Contacts/AddContactView.js index 8cfbd758e38..0755f69aaee 100644 --- a/e2e/pages/Drawer/Settings/Contacts/AddContactView.js +++ b/e2e/pages/Drawer/Settings/Contacts/AddContactView.js @@ -24,7 +24,7 @@ export default class AddContactView { } static async tapEditContactCTA() { - await TestHelpers.doubleTapByText('Edit contact'); // edit CTA button after you make changes to a contact + await TestHelpers.tapByText('Edit contact'); // edit CTA button after you make changes to a contact } static async tapBackButton() { diff --git a/e2e/specs/addressbook-tests.spec.js b/e2e/specs/addressbook-tests.spec.js index 4c9c254dc8c..b22679eb352 100644 --- a/e2e/specs/addressbook-tests.spec.js +++ b/e2e/specs/addressbook-tests.spec.js @@ -153,10 +153,15 @@ describe('Addressbook Tests', () => { await AddContactView.tapEditButton(); await AddContactView.typeInName('Moon'); // Change name from Myth to Moon - await AddContactView.tapEditContactCTA(); - await ContactsView.isVisible(); + // because tapping edit contact is slow to load on bitrise + try { + await ContactsView.isVisible(); + } catch { + await AddContactView.tapEditContactCTA(); + await ContactsView.isVisible(); + } await ContactsView.isContactAliasVisible('Moon'); // Check that Ibrahim address is saved in the address book await ContactsView.isContactAliasNotVisible('Myth'); // Ensure Myth is not visible });