Fix flaky vote tooltip tests for posts past payout window
Use toContain() instead of exact match for tooltip assertions. Posts older than 7 days show a payout warning in the tooltip, causing tests to fail when @gtg's first reply is past its payout window. The tests still validate that the correct tooltip type (Upvote/Downvote) is shown while accepting the payout warning variant.
Loading
Please sign in to comment