[Ubuntu] Rework Selenium installation (#4308)

This commit is contained in:
Dibir Magomedsaygitov
2021-10-29 16:55:01 +03:00
committed by GitHub
parent f5d2b977cd
commit d502c64087
7 changed files with 35 additions and 9 deletions

View File

@@ -194,8 +194,10 @@ Describe "Sbt" {
}
Describe "Selenium" {
It "Selenium Server 'selenium-server-standalone.jar' is installed" {
"/usr/share/java/selenium-server-standalone.jar" | Should -Exist
It "Selenium is installed" {
$seleniumBinaryName = (Get-ToolsetContent).selenium.binary_name
$seleniumPath = Join-Path "/usr/share/java" "$seleniumBinaryName.jar"
$seleniumPath | Should -Exist
}
}