Commit cfa38cb5 authored by Gandalf's avatar Gandalf
Browse files

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.
parent 467fcdfa
Loading
Loading
Loading
Loading