CI · the crate's tests and the gallery on Linux, Windows and macOS, arm64 and x86_64; tests type the platform's secondary key

This commit is contained in:
ZacharyZhang-NY committed 2026-10-04 00:00:43 -04:00
1 parent 399e3a6b53
commit 717d07ee4e
10 files changed
+45 -30

No files matched your search

+2 -2
View File
@@ -142,7 +142,7 @@ fn an_edit_saves_only_a_change_and_escape_cancels(cx: &mut TestAppContext) {
window.focus(&field, cx);
});
settle(cx);
cx.simulate_keystrokes("cmd-enter");
cx.simulate_keystrokes("secondary-enter");
settle(cx);
assert_eq!(
edit.read_with(cx, |edit, _| edit.saved),
@@ -151,7 +151,7 @@ fn an_edit_saves_only_a_change_and_escape_cancels(cx: &mut TestAppContext) {
);
cx.simulate_input(" Gently.");
settle(cx);
cx.simulate_keystrokes("cmd-enter");
cx.simulate_keystrokes("secondary-enter");
settle(cx);
assert_eq!(edit.read_with(cx, |edit, _| edit.saved), 1);
cx.simulate_keystrokes("escape");