From 9215929e4705cd5fbcf9645d9bbe3110dd3517e1 Mon Sep 17 00:00:00 2001 From: Dor Blayzer <59066376+Dor-bl@users.noreply.github.com> Date: Sun, 15 Dec 2024 09:37:03 +0200 Subject: [PATCH] test: fix assertion for logs entry (#878) --- test/integration/Android/Session/LogTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/Android/Session/LogTests.cs b/test/integration/Android/Session/LogTests.cs index cf67c762..d998f816 100644 --- a/test/integration/Android/Session/LogTests.cs +++ b/test/integration/Android/Session/LogTests.cs @@ -87,7 +87,7 @@ public void CanCaptureBugReportTest() Assert.That(availableLogTypes, Has.Member(BugReportLogType)); var bugReportLogEntry = _driver.Manage().Logs.GetLog(BugReportLogType); - Assert.That(bugReportLogEntry, Is.Not.Null.And.Count.EqualTo(1)); + Assert.That(bugReportLogEntry, Is.Not.Null.And.Count.AtLeast(1)); var bugReportLogPath = bugReportLogEntry.FirstOrDefault()?.Message; var match = Regex.Match(bugReportLogPath ?? throw new InvalidOperationException(), @"^([\s\S])*.zip");