Don't show user avatar in snapshot tests (#2130)
* Make user avatar 404 in snapshot tests * Make fallback menu button look better * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu) * Give AppHeader consistent height * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu) * Rerun CI * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu) * Rerun CI --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -98,7 +98,9 @@ describe('UserSidebarMenu tests', () => {
|
||||
</TestWrap>
|
||||
)
|
||||
|
||||
expect(screen.getByTestId('user-sidebar-toggle')).toHaveTextContent('Menu')
|
||||
expect(screen.getByTestId('user-sidebar-toggle')).toHaveTextContent(
|
||||
'User menu'
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user