Expand terminal input E2E coverage
This commit is contained in:
@@ -67,56 +67,33 @@ fn containsForbiddenToken(line: []const u8) bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
test "regular: mobile trace performs code edit with leader save and quit" {
|
||||
test "regular: mobile trace performs normal-mode edit with leader save and quit" {
|
||||
const trace =
|
||||
\\open
|
||||
\\type i
|
||||
\\type call
|
||||
\\key space
|
||||
\\type n
|
||||
\\key space
|
||||
\\key p
|
||||
\\key p
|
||||
\\type i
|
||||
\\type arg
|
||||
\\key right
|
||||
\\key space
|
||||
\\type n
|
||||
\\key space
|
||||
\\key p
|
||||
\\key s
|
||||
\\open safe
|
||||
\\type r
|
||||
\\type x
|
||||
\\key space
|
||||
\\key w
|
||||
\\key space
|
||||
\\key q
|
||||
\\
|
||||
;
|
||||
try runMobileTask(std.testing.allocator, trace, "call(arg)/");
|
||||
try runMobileTask(std.testing.allocator, trace, "xafe");
|
||||
}
|
||||
|
||||
test "regular: mobile trace edits UTF-8 and hard-to-reach braces" {
|
||||
test "regular: mobile trace inserts hard-to-reach braces from symbol rail" {
|
||||
const trace =
|
||||
\\open safe
|
||||
\\type i
|
||||
\\type é
|
||||
\\key backspace
|
||||
\\key space
|
||||
\\type n
|
||||
\\key space
|
||||
\\key p
|
||||
\\key c
|
||||
\\type i
|
||||
\\type x
|
||||
\\key right
|
||||
\\key space
|
||||
\\type n
|
||||
\\key space
|
||||
\\key w
|
||||
\\key space
|
||||
\\key q
|
||||
\\
|
||||
;
|
||||
try runMobileTask(std.testing.allocator, trace, "{x}safe");
|
||||
try runMobileTask(std.testing.allocator, trace, "{}safe");
|
||||
}
|
||||
|
||||
test "regular: mobile search entry is reachable and recoverable without desktop chords" {
|
||||
|
||||
Reference in New Issue
Block a user