mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
[Ubuntu] Migrate Browsers and Rust tests to Pester (#2323)
* add tests for browsers and rust * small fix * fix tests invoking * small fixes * resolve conflicts * fix firefox test
This commit is contained in:
committed by
GitHub
parent
ba0809214b
commit
7c15befd02
19
images/linux/scripts/tests/Browsers.Tests.ps1
Normal file
19
images/linux/scripts/tests/Browsers.Tests.ps1
Normal file
@@ -0,0 +1,19 @@
|
||||
Describe "Firefox" {
|
||||
It "Firefox" {
|
||||
"sudo -i firefox --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "Geckodriver" {
|
||||
"geckodriver --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Chrome" {
|
||||
It "Chrome" {
|
||||
"google-chrome --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "Chrome Driver" {
|
||||
"chromedriver --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user