Skip to content

Commit 032b8b4

Browse files
committed
[rust] Use --ffmepg flag in test
1 parent 5709c97 commit 032b8b4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

rust/tests/record_tests.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
use crate::common::get_sm_binary;
18+
use crate::common::{get_selenium_manager, get_sm_binary};
1919

2020
use kill_tree::blocking::kill_tree;
2121
use std::process::Command;
@@ -26,6 +26,12 @@ mod common;
2626

2727
#[test]
2828
fn test_record() {
29+
let mut cmd = get_selenium_manager();
30+
cmd.args(["--browser", "chrome", "--ffmpeg", "--debug"])
31+
.assert()
32+
.success()
33+
.code(0);
34+
2935
let mut child = Command::new(get_sm_binary())
3036
.args(["--record", "--debug"])
3137
.spawn()

0 commit comments

Comments
 (0)