Skip to content

Commit 39c6953

Browse files
bonigarciadiemol
andauthored
[rust] Include test to assess possible names of iexplorer (#11829)
Co-authored-by: Diego Molina <[email protected]>
1 parent d0433b4 commit 39c6953

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

rust/tests/iexplorer_tests.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,16 @@ fn iexplorer_test(#[case] driver_version: String) {
3434
.assert();
3535
cmd_assert.success();
3636
}
37+
38+
#[rstest]
39+
#[case("iexplorer")]
40+
#[case("ie")]
41+
#[case("internetexplorer")]
42+
#[case("internet explorer")]
43+
#[case("internet-explorer")]
44+
#[case("internet_explorer")]
45+
fn ie_name_test(#[case] browser_name: String) {
46+
let mut cmd = Command::cargo_bin(env!("CARGO_PKG_NAME")).unwrap();
47+
let cmd_assert = cmd.args(["--browser", &browser_name]).assert();
48+
cmd_assert.success();
49+
}

0 commit comments

Comments
 (0)