From 8909a53e69712d77262b4dce7e1906e379280806 Mon Sep 17 00:00:00 2001 From: Boni Garcia Date: Thu, 14 Mar 2024 16:47:57 +0100 Subject: [PATCH] [rust] Change browser version in test --- rust/tests/browser_download_tests.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rust/tests/browser_download_tests.rs b/rust/tests/browser_download_tests.rs index 534831f7bba51..90f5c3bbddede 100644 --- a/rust/tests/browser_download_tests.rs +++ b/rust/tests/browser_download_tests.rs @@ -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,