mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
[Ubuntu] Rework Selenium installation (#4308)
This commit is contained in:
committed by
GitHub
parent
f5d2b977cd
commit
d502c64087
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user