From 274b792e505cfc7439b163793cf00c1acbfa8945 Mon Sep 17 00:00:00 2001 From: Dor-bl Date: Fri, 13 Dec 2024 23:12:30 +0200 Subject: [PATCH] test: fix assertion for logs entry --- 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");