diff --git a/Content.IntegrationTests/Tests/Administration/Logs/LogWindowTest.cs b/Content.IntegrationTests/Tests/Administration/Logs/LogWindowTest.cs index 80236c7d90..7447f25ec1 100644 --- a/Content.IntegrationTests/Tests/Administration/Logs/LogWindowTest.cs +++ b/Content.IntegrationTests/Tests/Administration/Logs/LogWindowTest.cs @@ -40,9 +40,9 @@ public sealed class LogWindowTest : InteractionTest // Search for the log we added earlier. await Client.WaitPost(() => search.Text = guid.ToString()); await ClickControl(refresh); - await RunTicks(5); + await RunTicks(10); var searchResult = cont.Children.Where(x => x.Visible && x is AdminLogLabel).Cast().ToArray(); - Assert.That(searchResult.Length, Is.EqualTo(1)); + Assert.That(searchResult, Has.Length.EqualTo(1)); Assert.That(searchResult[0].Log.Message, Contains.Substring($" test log 1: {guid}")); // Add a new log @@ -52,9 +52,9 @@ public sealed class LogWindowTest : InteractionTest // Update the search and refresh await Client.WaitPost(() => search.Text = guid.ToString()); await ClickControl(refresh); - await RunTicks(5); + await RunTicks(10); searchResult = cont.Children.Where(x => x.Visible && x is AdminLogLabel).Cast().ToArray(); - Assert.That(searchResult.Length, Is.EqualTo(1)); + Assert.That(searchResult, Has.Length.EqualTo(1)); Assert.That(searchResult[0].Log.Message, Contains.Substring($" test log 2: {guid}")); } }