Update tests
parent
411c1581f6
commit
52f3810e81
|
@ -25,7 +25,9 @@ describe('Create account', () => {
|
||||||
await element(by.id('handleInput')).typeText('e2e-test')
|
await element(by.id('handleInput')).typeText('e2e-test')
|
||||||
await device.takeScreenshot('4- entered handle')
|
await device.takeScreenshot('4- entered handle')
|
||||||
await element(by.id('nextBtn')).tap()
|
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 element(by.id('continueBtn')).tap()
|
||||||
await expect(element(by.id('homeScreen'))).toBeVisible()
|
await expect(element(by.id('homeScreen'))).toBeVisible()
|
||||||
})
|
})
|
||||||
|
|
|
@ -42,7 +42,9 @@ describe('invite-codes', () => {
|
||||||
await element(by.id('handleInput')).typeText('e2e-test')
|
await element(by.id('handleInput')).typeText('e2e-test')
|
||||||
await device.takeScreenshot('4- entered handle')
|
await device.takeScreenshot('4- entered handle')
|
||||||
await element(by.id('nextBtn')).tap()
|
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 element(by.id('continueBtn')).tap()
|
||||||
await expect(element(by.id('homeScreen'))).toBeVisible()
|
await expect(element(by.id('homeScreen'))).toBeVisible()
|
||||||
await element(by.id('viewHeaderDrawerBtn')).tap()
|
await element(by.id('viewHeaderDrawerBtn')).tap()
|
||||||
|
|
|
@ -79,7 +79,7 @@ export const RecommendedFeeds = observer(({next}: Props) => {
|
||||||
<>
|
<>
|
||||||
<TabletOrDesktop>
|
<TabletOrDesktop>
|
||||||
<TitleColumnLayout
|
<TitleColumnLayout
|
||||||
testID="recommendedFeedsScreen"
|
testID="recommendedFeedsOnboarding"
|
||||||
title={title}
|
title={title}
|
||||||
horizontal
|
horizontal
|
||||||
titleStyle={isTabletOrMobile ? undefined : {minWidth: 470}}
|
titleStyle={isTabletOrMobile ? undefined : {minWidth: 470}}
|
||||||
|
@ -93,7 +93,7 @@ export const RecommendedFeeds = observer(({next}: Props) => {
|
||||||
</TitleColumnLayout>
|
</TitleColumnLayout>
|
||||||
</TabletOrDesktop>
|
</TabletOrDesktop>
|
||||||
<Mobile>
|
<Mobile>
|
||||||
<View style={[mStyles.container]} testID="recommendedFeedsScreen">
|
<View style={[mStyles.container]} testID="recommendedFeedsOnboarding">
|
||||||
<ViewHeader
|
<ViewHeader
|
||||||
title="Recommended Feeds"
|
title="Recommended Feeds"
|
||||||
showBackButton={false}
|
showBackButton={false}
|
||||||
|
|
Loading…
Reference in New Issue