Before Width: | Height: | Size: 984 B After Width: | Height: | Size: 992 B |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 517 B |
BIN
test/visual_regression/baseline/empty_focused.png
Normal file
After Width: | Height: | Size: 517 B |
BIN
test/visual_regression/baseline/hollow_cursor.png
Normal file
After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 560 B After Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.8 KiB |
|
@ -51,6 +51,16 @@ class TestVisualRegression:
|
|||
await wait_frames(30)
|
||||
assert_match("empty")
|
||||
|
||||
func test_empty_focused():
|
||||
subject.grab_focus()
|
||||
await wait_frames(30)
|
||||
assert_match("empty_focused")
|
||||
|
||||
func test_hollow_cursor():
|
||||
subject.write("W\b")
|
||||
await wait_frames(30)
|
||||
assert_match("hollow_cursor")
|
||||
|
||||
func test_default_theme():
|
||||
# Print every background color.
|
||||
for i in range(8):
|
||||
|
|