This tests is flaky on main, please, identify the RCA and try to identify the pattern that we could try to avoid in other places. Lets fix this same issue in other tests if present and propose if there is some guard we could put in place to avoid this.
● Unread Indicators › Do not display the new line indicator when tracking an expense on self DM while offline
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"_fiber": [FiberNode]}]
672 | const newMessageLineIndicatorHintText = translateLocal('accessibilityHints.newMessageLineIndicator');
673 | const unreadIndicator = screen.queryAllByLabelText(newMessageLineIndicatorHintText);
> 674 | expect(unreadIndicator).toHaveLength(0);
| ^
675 | });
676 | it('Mark the chat as unread on clicking "Mark as unread" on an item in LHN when the last message of the chat was deleted by another user', async () => {
677 | await signInAndGetAppWithUnreadChat();
at Object.toHaveLength (tests/ui/UnreadIndicatorsTest.tsx:674:33)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
Issue Owner
Current Issue Owner: @abekkala
This tests is flaky on main, please, identify the RCA and try to identify the pattern that we could try to avoid in other places. Lets fix this same issue in other tests if present and propose if there is some guard we could put in place to avoid this.
Issue Owner
Current Issue Owner: @abekkala