Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

test(cua-driver): record behavior video for the native omnibox select-all row (#4162)

Francesco Bonacci607a51dfb624
diff --git a/libs/cua-driver/rust/crates/cua-driver-e2e/tests/standalone_browser_behavior_test.rs b/libs/cua-driver/rust/crates/cua-driver-e2e/tests/standalone_browser_behavior_test.rs
index 8f467dfbde..50f7bea440 100644
--- a/libs/cua-driver/rust/crates/cua-driver-e2e/tests/standalone_browser_behavior_test.rs
+++ b/libs/cua-driver/rust/crates/cua-driver-e2e/tests/standalone_browser_behavior_test.rs
@@ -1969,6 +1969,8 @@ fn run_native_omnibox_select_all(spec: &BrowserSpec) {
);
assert!(!seeded.is_error(), "seed native omnibox: {}", seeded.raw);
wait_for_native_omnibox_value(&mut fixture, initial);
+ // Seeding is fixture setup; the behavior under test starts at Cmd+A.
+ fixture.driver.start_behavior_recording();
let selected = fixture.driver.call(
"hotkey",