Skip to content

Commit

Permalink
Disable getting performance logs in Chrome due to SeleniumHQ/selenium…
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja committed Mar 15, 2021
1 parent fb6ef13 commit 8609101
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Ocaramba.Tests.Angular/ProjectTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,12 @@ public void AfterTest()
var logs = this.driverContext.Driver.Manage().Logs;
if (BaseConfiguration.TestBrowser == BrowserType.Chrome)
{
var perfLogs = logs.GetLog("performance");
foreach (var perfLog in perfLogs)
{
Logger.Info(perfLog.ToString);
}
///// It doesn't work due to https://github.com/SeleniumHQ/selenium/issues/7900
////var perfLogs = logs.GetLog("performance");
////foreach (var perfLog in perfLogs)
////{
//// Logger.Info(perfLog.ToString);
////}
}

if (this.IsVerifyFailedAndClearMessages(this.driverContext) && TestContext.CurrentContext.Result.Outcome.Status != TestStatus.Failed)
Expand Down

0 comments on commit 8609101

Please sign in to comment.