[Windows] Reimplement function resolving GH asset (#8899)

* [Windows] Reimplement function resolving GH asset

* Fix tests and software report

* Fix selenium-server version check
This commit is contained in:
Vasilii Polikarpov
2023-11-28 15:08:03 +01:00
committed by GitHub
parent e8f9c10965
commit da1c04b81a
11 changed files with 104 additions and 78 deletions

View File

@@ -146,8 +146,7 @@ Describe "Internet Explorer" {
Describe "Selenium" {
BeforeAll {
$seleniumBinaryName = (Get-ToolsetContent).selenium.binary_name
$seleniumBinPath = Join-Path "C:\selenium\" "$seleniumBinaryName.jar"
$seleniumBinPath = "C:\selenium\selenium-server.jar"
}
It "Selenium server is installed" {
@@ -157,4 +156,4 @@ Describe "Selenium" {
It "SELENIUM_JAR_PATH environment variable exists" {
Get-EnvironmentVariable "SELENIUM_JAR_PATH" | Should -BeExactly "$seleniumBinPath"
}
}
}