diff --git a/e2e/browseMentorsTest.spec.ts b/e2e/browseMentorsTest.spec.ts index d03e9c74..7f661cb9 100644 --- a/e2e/browseMentorsTest.spec.ts +++ b/e2e/browseMentorsTest.spec.ts @@ -57,7 +57,7 @@ describe('Browse mentors', () => { try { await expect( element(by.text(accountFixtures.mentors[i].displayName)), - ).toBeVisible(); + ).toBeVisible(50); mentorsFound[accountFixtures.mentors[i].displayName] = true; } catch (error) { continue; @@ -70,7 +70,7 @@ describe('Browse mentors', () => { try { await expect( element(by.text(accountFixtures.mentors[i].displayName)), - ).toBeVisible(); + ).toBeVisible(50); mentorsFound[accountFixtures.mentors[i].displayName] = true; } catch (error) { continue; @@ -83,7 +83,7 @@ describe('Browse mentors', () => { try { await expect( element(by.text(accountFixtures.mentors[i].displayName)), - ).toBeVisible(); + ).toBeVisible(50); mentorsFound[accountFixtures.mentors[i].displayName] = true; } catch (error) { continue; @@ -186,7 +186,7 @@ describe('Browse mentors', () => { await signIn(mentor); - await expect(element(by.text(mentor.displayName))).toBeVisible(); + await expect(element(by.text(mentor.displayName))).toBeVisible(50); await element(by.text('Show mentor')).atIndex(0).tap(); await element(by.text('Chat')).tap(); diff --git a/e2e/filterSkillTest.spec.ts b/e2e/filterSkillTest.spec.ts index d682059a..746d170d 100644 --- a/e2e/filterSkillTest.spec.ts +++ b/e2e/filterSkillTest.spec.ts @@ -51,7 +51,7 @@ describe('Skill filter', () => { try { await expect( element(by.text(accountFixtures.mentors[i].displayName)), - ).toBeVisible(); + ).toBeVisible(50); mentorsFound[accountFixtures.mentors[i].displayName] = true; } catch (error) { continue; @@ -64,7 +64,7 @@ describe('Skill filter', () => { try { await expect( element(by.text(accountFixtures.mentors[i].displayName)), - ).toBeVisible(); + ).toBeVisible(50); mentorsFound[accountFixtures.mentors[i].displayName] = true; } catch (error) { continue; @@ -77,7 +77,7 @@ describe('Skill filter', () => { try { await expect( element(by.text(accountFixtures.mentors[i].displayName)), - ).toBeVisible(); + ).toBeVisible(50); mentorsFound[accountFixtures.mentors[i].displayName] = true; } catch (error) { continue; diff --git a/e2e/hideInactiveMentorsTest.spec.ts b/e2e/hideInactiveMentorsTest.spec.ts index 25f21eec..07ee9495 100644 --- a/e2e/hideInactiveMentorsTest.spec.ts +++ b/e2e/hideInactiveMentorsTest.spec.ts @@ -22,7 +22,7 @@ const findMentor = async (mentorIndexes: any, mentorsFound: any) => { try { await expect( element(by.text(accountFixtures.mentors[Number(i)].displayName)), - ).toBeVisible(); + ).toBeVisible(50); found[accountFixtures.mentors[Number(i)].displayName] = true; } catch (error) { continue; diff --git a/e2e/signInTest.spec.ts b/e2e/signInTest.spec.ts index 7f4c203a..3b2aeeb9 100644 --- a/e2e/signInTest.spec.ts +++ b/e2e/signInTest.spec.ts @@ -136,6 +136,7 @@ describe('SignIn', () => { 0, ); + await element(by.id('tabs.settings')).tap(); await expect( element(by.id('main.settings.account.displayName')), ).toHaveText(mentee.displayName); diff --git a/e2e/statusMessageTest.spec.ts b/e2e/statusMessageTest.spec.ts index d6e35326..08a9a9d6 100644 --- a/e2e/statusMessageTest.spec.ts +++ b/e2e/statusMessageTest.spec.ts @@ -63,7 +63,7 @@ describe('Show status message', () => { for (const mentorName of Object.keys(statusMessages)) { try { - await expect(element(by.text(mentorName))).toBeVisible(); + await expect(element(by.text(mentorName))).toBeVisible(50); await expect( element(by.text(statusMessages[mentorName])), ).toBeVisible(); diff --git a/src/Screens/Main/BuddyList/Button.tsx b/src/Screens/Main/BuddyList/Button.tsx index cb117ec5..0783300c 100644 --- a/src/Screens/Main/BuddyList/Button.tsx +++ b/src/Screens/Main/BuddyList/Button.tsx @@ -45,7 +45,11 @@ const Button = ({ style, buddyId, name, onPress, ...viewProps }: Props) => { - + {mentor?.is_vacationing ? ( = ({ source={require('../../images/three-dot-menu.svg')} style={styles.kebabIcon} /> - + diff --git a/src/Screens/Onboarding/Email.tsx b/src/Screens/Onboarding/Email.tsx index 492f7561..a1524e21 100644 --- a/src/Screens/Onboarding/Email.tsx +++ b/src/Screens/Onboarding/Email.tsx @@ -67,7 +67,7 @@ const Email = ({ navigation, route }: Props) => { onPress={goBack} noShadow={true} style={styles.backButton} - emphasis="low" + emphasis="medium" />