From 52f3810e81e6c96ef72876f3394f5a8eaf49a1b3 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 5 Sep 2023 14:03:39 -0700 Subject: [PATCH] Update tests --- __e2e__/tests/create-account.test.ts | 4 +++- __e2e__/tests/invite-codes.test.ts | 4 +++- src/view/com/auth/onboarding/RecommendedFeeds.tsx | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/__e2e__/tests/create-account.test.ts b/__e2e__/tests/create-account.test.ts index 8706fae7..f6ab0a49 100644 --- a/__e2e__/tests/create-account.test.ts +++ b/__e2e__/tests/create-account.test.ts @@ -25,7 +25,9 @@ describe('Create account', () => { await element(by.id('handleInput')).typeText('e2e-test') await device.takeScreenshot('4- entered handle') await element(by.id('nextBtn')).tap() - await expect(element(by.id('welcomeScreen'))).toBeVisible() + await expect(element(by.id('welcomeOnboarding'))).toBeVisible() + await element(by.id('continueBtn')).tap() + await expect(element(by.id('recommendedFeedsOnboarding'))).toBeVisible() await element(by.id('continueBtn')).tap() await expect(element(by.id('homeScreen'))).toBeVisible() }) diff --git a/__e2e__/tests/invite-codes.test.ts b/__e2e__/tests/invite-codes.test.ts index 74b80a8d..efe7b9d1 100644 --- a/__e2e__/tests/invite-codes.test.ts +++ b/__e2e__/tests/invite-codes.test.ts @@ -42,7 +42,9 @@ describe('invite-codes', () => { await element(by.id('handleInput')).typeText('e2e-test') await device.takeScreenshot('4- entered handle') await element(by.id('nextBtn')).tap() - await expect(element(by.id('welcomeScreen'))).toBeVisible() + await expect(element(by.id('welcomeOnboarding'))).toBeVisible() + await element(by.id('continueBtn')).tap() + await expect(element(by.id('recommendedFeedsOnboarding'))).toBeVisible() await element(by.id('continueBtn')).tap() await expect(element(by.id('homeScreen'))).toBeVisible() await element(by.id('viewHeaderDrawerBtn')).tap() diff --git a/src/view/com/auth/onboarding/RecommendedFeeds.tsx b/src/view/com/auth/onboarding/RecommendedFeeds.tsx index 28dc2cdd..92d12f60 100644 --- a/src/view/com/auth/onboarding/RecommendedFeeds.tsx +++ b/src/view/com/auth/onboarding/RecommendedFeeds.tsx @@ -79,7 +79,7 @@ export const RecommendedFeeds = observer(({next}: Props) => { <> { - +