Skip to content

Commit

Permalink
Fixed E2E test DiscoverSheetFlow (#5160)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwieja authored Oct 26, 2023
1 parent 702d773 commit 923bfeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/discoverSheetFlow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('Discover Screen Flow', () => {
});

it('Should navigate to the Profile screen after swiping left', async () => {
await Helpers.swipe('discover-home', 'left', 'slow');
await Helpers.waitAndTap('tab-bar-icon-ProfileScreen');
await Helpers.checkIfVisible('profile-screen');
});

Expand Down
1 change: 1 addition & 0 deletions src/navigation/SwipeNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ const TabBar = ({
width="full"
justifyContent="flex-start"
paddingTop="6px"
testID={`tab-bar-icon-${route.name}`}
>
<ButtonPressAnimation
onPress={onPress}
Expand Down

0 comments on commit 923bfeb

Please sign in to comment.