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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment