mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 01:12:11 +08:00

Why this change? This test has been flaky on CI: https://github.com/discourse/discourse/actions/runs/6880353258/job/18714366795 However, the way the current assertions are written does not really allow us to easily figure out what went wrong since we only know that `#post_4` was not selected. It will be useful to know what was selected instead of `#post_4` when the test fails. What does this change do? This change updates the assertion of the flaky test to reveal which post was selected should the test fail.