Skip to content

Commit

Permalink
[rust] Change browser version in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Mar 14, 2024
1 parent 8ab92eb commit 8909a53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rust/tests/browser_download_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ fn browser_latest_download_test(#[case] browser: String) {
#[case("firefox", "beta")]
#[case("firefox", "esr")]
#[case("edge", "beta")]
fn browser_version_download_test(#[case] browser: String, #[case] browser_version: String) {
fn browser_version_download_test(#[case] browser: String, #[case] mut browser_version: String) {
let mut cmd = Command::new(env!("CARGO_BIN_EXE_selenium-manager"));
if !OS.eq("windows") {
browser_version = "stable".to_string();
}
cmd.args([
"--browser",
&browser,
Expand Down

0 comments on commit 8909a53

Please sign in to comment.