Skip to content

Commit

Permalink
[#262] added unit test to cover getting access to DriverContext
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry.bogatko committed Sep 17, 2024
1 parent a796a3e commit 41eabbf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,12 @@ public void Should_BePossibleTo_GetDownloadDir()
var downloadDir = AqualityServices.Browser.DownloadDirectory;
Assert.That(downloadDir.ToLower().Contains("downloads", StringComparison.InvariantCultureIgnoreCase));
}

[Test]
public void Should_BePossibleTo_GetAccessToDriverContext()
{
var driverProcessId = AqualityServices.Browser.DriverContext.DriverService?.ProcessId;
Assert.That(driverProcessId, Is.Not.EqualTo(0));
}
}
}

0 comments on commit 41eabbf

Please sign in to comment.