mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
91ec3323dd
Why this change? Asserting against records of the database in system tests can be flaky because those assertions can run against the database before the server has actually saved the necessary changes to the database. What does this change do? While the assertion is not ideal, we are working around this as a temporary fix by using `try_until_success` which will retry the assertion up till the default capybara timeout.